summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authormimimi085181 <mimimi085181@users.noreply.github.com>2015-01-17 19:10:00 +0100
committermimimi085181 <mimimi085181@users.noreply.github.com>2015-01-17 19:10:00 +0100
commit96bcb09fb2a4e5146469bd09f1f4c24405169790 (patch)
treeecd67bcdb75675d6d255a7435de96b6463cfd07f /Source/Core/VideoCommon/TextureCacheBase.cpp
parentc2bdcbe71c8e559a3bb91ff1da7844dd65406582 (diff)
Fix another small bug with the efb2ram cache
Textures that are directly next to each other were falsely detected as overlapping.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
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)