mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Merge pull request #10180 from justinweiss/keep-bottom-screen-hidden-on-wake
[3DS] Keep the bottom screen hidden on sleep/wakeup
This commit is contained in:
commit
a4bad00133
@ -273,7 +273,7 @@ static void ctr_lcd_aptHook(APT_HookType hook, void* param)
|
|||||||
if ((hook == APTHOOK_ONSUSPEND) && ctr->supports_parallax_disable)
|
if ((hook == APTHOOK_ONSUSPEND) && ctr->supports_parallax_disable)
|
||||||
ctr_set_parallax_layer(*(float*)0x1FF81080 != 0.0);
|
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;
|
Handle lcd_handle;
|
||||||
u8 not_2DS;
|
u8 not_2DS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user