Use XXH64 on 64-bit systems.

I'm not able to reproduce any real performance difference, but I know
there are some games which do more hashing and it may help there.
This commit is contained in:
Unknown W. Brackets committed 2014-10-26 17:49:24 -07:00
1 parent 139277bc1a
commit 2b16b5b79b
12 files changed
+66 -32

No files matched your search

+1 -1
View File
@@ -798,7 +798,7 @@ void TextureCacheDX9::UpdateCurrentClut() {
// If not, we're going to hash random data, which hopefully doesn't cause a performance issue.
const u32 clutExtendedBytes = clutTotalBytes_ + clutBaseBytes;
clutHash_ = DoReliableHash((const char *)clutBufRaw_, clutExtendedBytes, 0xC0108888);
clutHash_ = DoReliableHash32((const char *)clutBufRaw_, clutExtendedBytes, 0xC0108888);
clutBuf_ = clutBufRaw_;
// Special optimization: fonts typically draw clut4 with just alpha values in a single color.