Disable QuickClutHash until it can be fixed.

This commit is contained in:
Henrik Rydgård 2013-05-27 19:46:09 +02:00
parent 78b8c52a46
commit 99634a913a

View File

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