mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Fix another small bug with the efb2ram cache
Textures that are directly next to each other were falsely detected as overlapping.
This commit is contained in:
parent
c2bdcbe71c
commit
96bcb09fb2
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ bool TextureCache::Find(u32 start_address, u64 hash)
|
||||||
|
|
||||||
bool TextureCache::TCacheEntryBase::OverlapsMemoryRange(u32 range_address, u32 range_size) const
|
bool TextureCache::TCacheEntryBase::OverlapsMemoryRange(u32 range_address, u32 range_size) const
|
||||||
{
|
{
|
||||||
if (addr + size_in_bytes < range_address)
|
if (addr + size_in_bytes <= range_address)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (addr >= range_address + range_size)
|
if (addr >= range_address + range_size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue