From 99634a913a7f6f8ca1922bc7311cb9e69470a939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 27 May 2013 19:46:09 +0200 Subject: [PATCH] Disable QuickClutHash until it can be fixed. --- GPU/GLES/TextureCache.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index e67545870..b26b75e22 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -815,7 +815,9 @@ void TextureCache::LoadClut() { void TextureCache::UpdateCurrentClut() { // 0xFF is an invalid format, it means not yet hashed or updated. if (clutLastFormat_ == 0xFF) { - clutHash_ = QuickClutHash((const u8 *)clutBufRaw_, clutTotalBytes_); + // QuickClutHash is not quite good enough apparently. + // clutHash_ = QuickClutHash((const u8 *)clutBufRaw_, clutTotalBytes_); + clutHash_ = CityHash32((const char *)clutBufRaw_, clutTotalBytes_); } GEPaletteFormat clutFormat = (GEPaletteFormat)(gstate.clutformat & 3);