mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-13 10:24:39 +00:00
Get rid of the cluthash in the texcache.
It's part of the key now, and better anyway.
This commit is contained in:
parent
0cd65102af
commit
13aeb9e67f
@ -787,9 +787,7 @@ void TextureCache::SetTexture() {
|
||||
entry->hash != texhash ||
|
||||
entry->format != format ||
|
||||
entry->maxLevel != maxLevel ||
|
||||
(hasClut &&
|
||||
(entry->clutformat != clutformat ||
|
||||
entry->cluthash != Memory::Read_U32(clutaddr))))
|
||||
(hasClut && entry->clutformat != clutformat))
|
||||
match = false;
|
||||
|
||||
if (match) {
|
||||
@ -874,7 +872,6 @@ void TextureCache::SetTexture() {
|
||||
if (hasClut) {
|
||||
entry->clutformat = clutformat;
|
||||
entry->clutaddr = clutaddr;
|
||||
entry->cluthash = Memory::Read_U32(clutaddr);
|
||||
} else {
|
||||
entry->clutaddr = 0;
|
||||
}
|
||||
|
@ -73,7 +73,6 @@ private:
|
||||
u8 clutformat;
|
||||
u16 dim;
|
||||
u32 clutaddr;
|
||||
u32 cluthash;
|
||||
u32 texture; //GLuint
|
||||
int invalidHint;
|
||||
u32 fullhash;
|
||||
|
Loading…
x
Reference in New Issue
Block a user