diff --git a/src/core/memory.h b/src/core/memory.h index f9ae64942..2588fbd6a 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -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 {