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; }