Merge pull request #1902 from mimimi085181/master

Fix another small bug with the efb2ram cache
This commit is contained in:
Markus Wick 2015-01-18 01:45:36 +01:00
commit dbdae093cc
1 changed files with 1 additions and 1 deletions

View File

@ -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)