mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Fix loading replacement textures
This commit is contained in:
parent
aeb3cb0945
commit
69349e9d38
|
@ -5185,7 +5185,7 @@ GSTextureCache::HashCacheEntry* GSTextureCache::LookupHashCache(const GIFRegTEX0
|
|||
{
|
||||
// found a replacement texture! insert it into the hash cache, and clear paltex (since it's not indexed)
|
||||
paltex = false;
|
||||
const HashCacheEntry entry{replacement_tex, 1u, 0u, alpha_minmax, true};
|
||||
const HashCacheEntry entry{replacement_tex, 1u, 0u, alpha_minmax, true, true};
|
||||
m_hash_cache_replacement_memory_usage += entry.texture->GetMemUsage();
|
||||
return &m_hash_cache.emplace(key, entry).first->second;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue