diff --git a/GPU/Common/TextureDecoder.h b/GPU/Common/TextureDecoder.h index 172bb039f9..7a15a32adc 100644 --- a/GPU/Common/TextureDecoder.h +++ b/GPU/Common/TextureDecoder.h @@ -134,7 +134,7 @@ inline void DeIndexTexture(/*WRITEONLY*/ ClutT *dest, const IndexT *indexed, int } } else { for (int i = 0; i < length; ++i) { - ClutT color = (*indexed++) & 0xFF; + ClutT color = clut[(*indexed++) & 0xFF]; alphaSum &= color; *dest++ = color; }