mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
MEMORY: Fixed IsMyAddress bound error (GetEndAddr returns an inclusive value)
This commit is contained in:
parent
4c02c20d84
commit
85785b471e
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ MemoryBlock* MemoryBlock::SetRange(const u64 start, const u32 size)
|
||||||
|
|
||||||
bool MemoryBlock::IsMyAddress(const u64 addr)
|
bool MemoryBlock::IsMyAddress(const u64 addr)
|
||||||
{
|
{
|
||||||
return mem && addr >= GetStartAddr() && addr < GetEndAddr();
|
return mem && addr >= GetStartAddr() && addr <= GetEndAddr();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue