mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
32-bit fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7068 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
253fc3a16e
commit
40ac272691
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user