From 1dae81a98a51c329fb8cdee6fa73a63910a836af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 14 Apr 2022 01:03:42 +0200 Subject: [PATCH] Yet another bugfix --- GPU/Common/TextureDecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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