diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 29f04e6777..6ffcbb82dc 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -49,7 +49,8 @@ public: // common members u32 addr; u32 size_in_bytes; - u64 hash; + u64 base_hash; + u64 hash; // for paletted textures, hash = base_hash ^ palette_hash u32 format; bool is_efb_copy; bool is_custom_tex; @@ -79,8 +80,9 @@ public: memory_stride = _native_width; } - void SetHashes(u64 _hash) + void SetHashes(u64 _base_hash, u64 _hash) { + base_hash = _base_hash; hash = _hash; } |
