mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 12:15:32 -06:00
The above could trigger wrong writes and read one extra VMA entry (fixed) (#4237)
This commit is contained in:
parent
2c6d41cdd4
commit
5ca2b07f94
@ -117,7 +117,7 @@ struct VirtualMemoryArea {
|
||||
}
|
||||
|
||||
bool Overlaps(VAddr addr, u64 size) const {
|
||||
return addr <= (base + this->size) && (addr + size) >= base;
|
||||
return addr < (base + this->size) && (addr + size) > base;
|
||||
}
|
||||
|
||||
bool IsFree() const noexcept {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user