mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user