diff options
| author | degasus <wickmarkus@web.de> | 2014-12-22 22:35:08 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-12-29 10:24:27 +0100 |
| commit | c6dd5044d6accb22441893afaa1338b0c93b769d (patch) | |
| tree | fbb79eca260dbf639496589073dc64bde4e040be /Source/Core/Common/Hash.cpp | |
| parent | f8184858dae55306b464b5d56c9cde8ecbfad8a1 (diff) | |
VideoCommon: make hash independet from hires textures
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
| -rw-r--r-- | Source/Core/Common/Hash.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp index f9a3737d34..973e30da02 100644 --- a/Source/Core/Common/Hash.cpp +++ b/Source/Core/Common/Hash.cpp @@ -510,19 +510,15 @@ u64 GetHash64(const u8 *src, int len, u32 samples) } // sets the hash function used for the texture cache -void SetHash64Function(bool useHiresTextures) +void SetHash64Function() { - if (useHiresTextures) - { - ptrHashFunction = &GetHashHiresTexture; - } #if _M_SSE >= 0x402 - else if (cpu_info.bSSE4_2 && !useHiresTextures) // sse crc32 version + if (cpu_info.bSSE4_2) // sse crc32 version { ptrHashFunction = &GetCRC32; } -#endif else +#endif { ptrHashFunction = &GetMurmurHash3; } |
