Add missing enum value in switch.
This commit is contained in:
parent
194ee3f339
commit
a3cbf8ea01
|
@ -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 Blend: if(blend2[bg_under]) color = blend(color,T2ReadWord(currDst, x<<1)); break;
|
||||||
case Increase: color = currentFadeInColors[color]; break;
|
case Increase: color = currentFadeInColors[color]; break;
|
||||||
case Decrease: color = currentFadeOutColors[color]; break;
|
case Decrease: color = currentFadeOutColors[color]; break;
|
||||||
|
case None: break;
|
||||||
}
|
}
|
||||||
return true;
|
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
|
//only when blend color effect is selected, ordinarily opaque sprites are blended with the color effect params
|
||||||
case Blend: forceBlendingForNormal = true; break;
|
case Blend: forceBlendingForNormal = true; break;
|
||||||
|
case None: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue