diff --git a/GPU/Common/TextureDecoder.h b/GPU/Common/TextureDecoder.h index edfbe79724..9c13f6b9dd 100644 --- a/GPU/Common/TextureDecoder.h +++ b/GPU/Common/TextureDecoder.h @@ -127,7 +127,7 @@ inline void DeIndexTexture(/*WRITEONLY*/ ClutT *dest, const IndexT *indexed, int } } - *outAlphaSum = alphaSum; + *outAlphaSum &= (u32)alphaSum; } template