summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/Hash.cpp')
-rw-r--r--Source/Core/Common/Src/Hash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/Hash.cpp b/Source/Core/Common/Src/Hash.cpp
index f7e6dba6f5..59cd0bb15d 100644
--- a/Source/Core/Common/Src/Hash.cpp
+++ b/Source/Core/Common/Src/Hash.cpp
@@ -215,12 +215,12 @@ u64 GetCRC32(const u8 *src, int len, u32 samples)
#endif
}
-u64 GetHash64(const u8 *src, int len, u32 samples)
+u64 GetHash64(const u8 *src, int len, u32 samples, bool legacy)
{
const u32 m = 0x5bd1e995;
u64 h = 0;
#if _M_SSE >= 0x402
- if (cpu_info.bSSE4_2)
+ if (cpu_info.bSSE4_2 && !legacy)
{
h = GetCRC32(src, len, samples);
}