mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-22 19:11:47 +01:00
libnx updates
This commit is contained in:
parent
709e24d458
commit
c4f36f165b
@ -1169,7 +1169,7 @@ void handleAppletHook (AppletHookType const hook_, void *const param_)
|
||||
{
|
||||
case AppletHookType_OnFocusState:
|
||||
// grab focus state
|
||||
s_focused = (appletGetFocusState () == AppletFocusState_Focused);
|
||||
s_focused = (appletGetFocusState () == AppletFocusState_InFocus);
|
||||
break;
|
||||
|
||||
case AppletHookType_OnOperationMode:
|
||||
@ -1182,7 +1182,7 @@ void handleAppletHook (AppletHookType const hook_, void *const param_)
|
||||
s_height = 720.0f;
|
||||
break;
|
||||
|
||||
case AppletOperationMode_Docked:
|
||||
case AppletOperationMode_Console:
|
||||
// use docked mode resolution (1080p)
|
||||
s_width = 1920.0f;
|
||||
s_height = 1080.0f;
|
||||
|
@ -450,7 +450,7 @@ void handleAppletHook (AppletHookType const hook_, void *const param_)
|
||||
switch (hook_)
|
||||
{
|
||||
case AppletHookType_OnFocusState:
|
||||
if (appletGetFocusState () == AppletFocusState_Focused)
|
||||
if (appletGetFocusState () == AppletFocusState_InFocus)
|
||||
appletSetLcdBacklightOffEnabled (!s_backlight);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user