mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
irjit: Switch to XXH3.
This commit is contained in:
1 parent
15c25be42b
commit
53d9c10b22
3 files changed
+7
-7
No files matched your search
@@ -41,12 +41,12 @@ bool isInInterval(u32 start, u32 size, u32 value)
|
||||
}
|
||||
|
||||
|
||||
static u32 computeHash(u32 address, u32 size)
|
||||
static HashType computeHash(u32 address, u32 size)
|
||||
{
|
||||
#ifdef _M_X64
|
||||
return XXH64(Memory::GetPointer(address), size, 0xBACD7814BACD7814LL);
|
||||
return XXH3_64bits(Memory::GetPointer(address), size);
|
||||
#else
|
||||
return XXH32(Memory::GetPointer(address), size, 0xBACD7814);
|
||||
return XXH3_64bits(Memory::GetPointer(address), size) & 0xFFFFFFFF;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user