diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-01-18 01:45:36 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-01-18 01:45:36 +0100 |
| commit | dbdae093cc435e46a65091758de597f216f8be7b (patch) | |
| tree | ecd67bcdb75675d6d255a7435de96b6463cfd07f /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | c2bdcbe71c8e559a3bb91ff1da7844dd65406582 (diff) | |
| parent | 96bcb09fb2a4e5146469bd09f1f4c24405169790 (diff) | |
Merge pull request #1902 from mimimi085181/master
Fix another small bug with the efb2ram cache
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index a2b32410f9..38449ae5eb 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -227,7 +227,7 @@ bool TextureCache::Find(u32 start_address, u64 hash) 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; if (addr >= range_address + range_size) |
