mirror of https://github.com/RPCS3/rpcs3.git
MEMORY: Fixed IsMyAddress bound error (GetEndAddr returns an inclusive value)
This commit is contained in:
parent
4c02c20d84
commit
85785b471e
|
@ -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…
Reference in New Issue