custom tex: support v1 (content+pal) and v3 (...+format) hashes only

This commit is contained in:
Flyinghead 2020-02-19 18:48:56 +01:00
parent e2b3ef147d
commit 75bfd25224
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ void BaseTextureCacheData::ComputeHash()
texture_hash = XXH32(&vram[sa], size, 7);
if (IsPaletted())
texture_hash ^= palette_hash;
old_texture_hash = texture_hash ^ tcw.full;
old_texture_hash = texture_hash;
texture_hash ^= tcw.full & 0xFC000000; // everything but texaddr, reserved and stride
}