mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
[3DS] Keep the bottom screen hidden on sleep/wakeup
When the 3DS wakes back up after being closed, the bottom screen needs to be reinitialized. Adding the condition here will cause the screen to be turned on or off based on the state of ctr_bottom_screen_enabled, as you'd expect.
This commit is contained in:
parent
7d908da30f
commit
a96be2cdce
@ -273,7 +273,7 @@ static void ctr_lcd_aptHook(APT_HookType hook, void* param)
|
||||
if ((hook == APTHOOK_ONSUSPEND) && ctr->supports_parallax_disable)
|
||||
ctr_set_parallax_layer(*(float*)0x1FF81080 != 0.0);
|
||||
|
||||
if((hook == APTHOOK_ONSUSPEND) || (hook == APTHOOK_ONRESTORE))
|
||||
if((hook == APTHOOK_ONSUSPEND) || (hook == APTHOOK_ONRESTORE) || (hook == APTHOOK_ONWAKEUP))
|
||||
{
|
||||
Handle lcd_handle;
|
||||
u8 not_2DS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user