From 40ac272691fe3f8cc02e566ee145327b5af1ce1e Mon Sep 17 00:00:00 2001 From: "baby.lueshi" Date: Sat, 5 Feb 2011 00:31:35 +0000 Subject: [PATCH] 32-bit fix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7068 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Hash.cpp | 4 ++-- 1 file 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); }