mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 17:19:42 +00:00
Bugfix an 8-bit indexed texture format
This commit is contained in:
parent
75412b064b
commit
9ec858a64d
@ -238,7 +238,7 @@ void *readIndexedTex(u32 level, u32 texaddr, u32 bytesPerIndex)
|
||||
u32 n = tmpTexBuf32[j];
|
||||
u32 k;
|
||||
for (k = 0; k < 4; k++) {
|
||||
u8 index = (n >> (k * 4)) & 0xff;
|
||||
u8 index = (n >> (k * 8)) & 0xff;
|
||||
tmpTexBuf16[i + k] = clut[GetClutIndex(index)];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user