From a3cbf8ea0114bd2e4d8e568dc946195e0516dc60 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 18 Jul 2009 12:13:45 +0000 Subject: [PATCH] Add missing enum value in switch. --- desmume/src/GPU.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index bb7c6aa1c..353fcadac 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -974,6 +974,7 @@ FORCEINLINE FASTCALL bool GPU::_master_setFinalBGColor(u16 &color, const u32 x) case Blend: if(blend2[bg_under]) color = blend(color,T2ReadWord(currDst, x<<1)); break; case Increase: color = currentFadeInColors[color]; break; case Decrease: color = currentFadeOutColors[color]; break; + case None: break; } return true; } @@ -1007,6 +1008,7 @@ static FORCEINLINE void _master_setFinalOBJColor(GPU *gpu, u8 *dst, u16 color, u //only when blend color effect is selected, ordinarily opaque sprites are blended with the color effect params case Blend: forceBlendingForNormal = true; break; + case None: break; }