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 :