revert crazymax's change to master brightness. it looks 100% wrong, so I dunno what he was trying to do. now fades on subscreen work correctly
This commit is contained in:
parent
7cb8b54dc3
commit
39a5aa7b50
|
@ -2213,10 +2213,10 @@ static INLINE void GPU_ligne_DispCapture(u16 l)
|
|||
}
|
||||
}
|
||||
|
||||
static INLINE void GPU_ligne_Brightness(u16 l)
|
||||
static INLINE void GPU_ligne_Brightness(NDS_Screen * screen, u16 l)
|
||||
{
|
||||
GPU * gpu = MainScreen.gpu;
|
||||
u8 * dst = GPU_screen + (MainScreen.offset + l) * 512;
|
||||
GPU * gpu = screen->gpu;
|
||||
u8 * dst = GPU_screen + (screen->offset + l) * 512;
|
||||
u16 i16;
|
||||
#ifndef HAVE_LIBGDKGLEXT_X11_1_0
|
||||
// damdoum :
|
||||
|
@ -2375,10 +2375,8 @@ void GPU_ligne(NDS_Screen * screen, u16 l)
|
|||
}
|
||||
|
||||
if (gpu->core == GPU_MAIN)
|
||||
{
|
||||
GPU_ligne_DispCapture(l);
|
||||
GPU_ligne_Brightness(l);
|
||||
}
|
||||
GPU_ligne_Brightness(screen, l);
|
||||
}
|
||||
|
||||
void gpu_savestate(std::ostream* os)
|
||||
|
|
Loading…
Reference in New Issue