diff options
| author | skidau <skidau@gmail.com> | 2010-11-07 04:28:33 +0000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2010-11-07 04:28:33 +0000 |
| commit | 6666b400a32249752815a33ac78e9fd1557f3bca (patch) | |
| tree | cd8b1e66936d78a5231d322a1825f576385b926f /Source/Core/VideoCommon | |
| parent | 8775abacc6776fe2f8b65e04402d783b19da79fa (diff) | |
Updated with a less aggressive optimisation to EFB copy to RAM. The destination texture now does not get invalidated if its hash is found in the texture cache. Fixes Metroid Prime 3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6353 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureCacheBase.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp index ba54adbac5..65a74b71dc 100644 --- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp @@ -137,9 +137,7 @@ void TextureCache::MakeRangeDynamic(u32 start_address, u32 size) bool TextureCache::Find(u32 start_address, u64 hash) { - TexCache::iterator - iter = textures.lower_bound(start_address), - tcend = textures.upper_bound(start_address); + TexCache::iterator iter = textures.lower_bound(start_address); if (iter->second->hash == hash) return true; |
