From 3348cdf6e22baca66e25eeff855572088bd0a6c1 Mon Sep 17 00:00:00 2001 From: yabause Date: Tue, 28 Apr 2009 20:57:20 +0000 Subject: [PATCH] Added some empty default case in switches to keep gcc happy. --- desmume/src/GPU.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index 7db750613..fcfb0b510 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -130,6 +130,8 @@ void GPU::modeRender(int layer) case BGType_Invalid: PROGINFO("Attempting to render an invalid BG type\n"); break; + default: + break; } } @@ -1871,6 +1873,7 @@ FORCEINLINE void extRotBG2(GPU * gpu, s32 X, s32 Y, s16 PA, s16 PB, s16 PC, s16 pal = ARM9Mem.ARM9_VMEM + gpu->core * 0x400; apply_rot_fun(gpu,X,Y,PA,PB,PC,PD,LG, map, NULL, pal, 0); return; + default: break; } }