mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00: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:
parent
8775abacc6
commit
6666b400a3
3 changed files with 16 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue