mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 05:55:16 -04:00
git subrepo pull troposphere/daybreak/nanovg/
This commit is contained in:
parent
b8471bcd4e
commit
35a6705d55
3 changed files with 7 additions and 7 deletions
|
@ -20,7 +20,7 @@ void CApplication::run()
|
|||
{
|
||||
u64 tick_ref = armGetSystemTick();
|
||||
u64 tick_saved = tick_ref;
|
||||
bool focused = appletGetFocusState() == AppletFocusState_Focused;
|
||||
bool focused = appletGetFocusState() == AppletFocusState_InFocus;
|
||||
|
||||
onOperationMode(appletGetOperationMode());
|
||||
|
||||
|
@ -40,7 +40,7 @@ void CApplication::run()
|
|||
{
|
||||
bool old_focused = focused;
|
||||
AppletFocusState state = appletGetFocusState();
|
||||
focused = state == AppletFocusState_Focused;
|
||||
focused = state == AppletFocusState_InFocus;
|
||||
|
||||
onFocusState(state);
|
||||
if (focused == old_focused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue