From 6191ccbdca8c4f6772bb510b4b2cc58f242e4fa3 Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 30 Dec 2008 17:34:40 +0000 Subject: [PATCH] Remove variables not used warnings. --- desmume/src/GPU.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index b4a874898..b188738a3 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -2563,7 +2563,6 @@ static void GPU_ligne_layer(NDS_Screen * screen, u16 l) static void GPU_ligne_DispCapture(u16 l) { GPU * gpu = MainScreen.gpu; - struct _DISPCNT * dispCnt = &(gpu->dispx_st)->dispx_DISPCNT.bits; if (l == 0) { @@ -2699,8 +2698,10 @@ static void GPU_ligne_DispCapture(u16 l) static INLINE void GPU_ligne_MasterBrightness(NDS_Screen * screen, u16 l) { GPU * gpu = screen->gpu; +#if 0 u8 * dst = GPU_screen + (screen->offset + l) * 512; u16 i16; +#endif if (!gpu->MasterBrightFactor) return; #ifndef HAVE_LIBGDKGLEXT_X11_1_0 // damdoum :