32-bit fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7068 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
baby.lueshi 2011-02-05 00:31:35 +00:00
parent 253fc3a16e
commit 40ac272691
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}