diff --git a/troposphere/daybreak/nanovg/.gitrepo b/troposphere/daybreak/nanovg/.gitrepo index af3cd2185..62fc7a585 100644 --- a/troposphere/daybreak/nanovg/.gitrepo +++ b/troposphere/daybreak/nanovg/.gitrepo @@ -4,9 +4,9 @@ ; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme ; [subrepo] - remote = https://github.com/Adubbz/nanovg-deko.git + remote = https://github.com/Adubbz/nanovg-deko3d.git branch = master - commit = c197ba2f0d1fe2c70e2d49c61f16b4063aef569e - parent = 171d97e0ac2eaf1bca1c48727404fec45621f1fd + commit = a8c9778aff08420b5b4af7b54bef5d4f3b5ac568 + parent = 797e3651d5e425231dd7f252489338e38872b116 method = merge - cmdver = 0.4.1 + cmdver = 0.4.3 diff --git a/troposphere/daybreak/nanovg/include/nanovg/framework/CApplication.h b/troposphere/daybreak/nanovg/include/nanovg/framework/CApplication.h index 2d804507b..b575e3bc8 100644 --- a/troposphere/daybreak/nanovg/include/nanovg/framework/CApplication.h +++ b/troposphere/daybreak/nanovg/include/nanovg/framework/CApplication.h @@ -30,7 +30,7 @@ constexpr void CApplication::chooseFramebufferSize(uint32_t& width, uint32_t& he width = 1280; height = 720; break; - case AppletOperationMode_Docked: + case AppletOperationMode_Console: width = 1920; height = 1080; break; diff --git a/troposphere/daybreak/nanovg/source/framework/CApplication.cpp b/troposphere/daybreak/nanovg/source/framework/CApplication.cpp index 34786a3d8..2d6c87ff0 100644 --- a/troposphere/daybreak/nanovg/source/framework/CApplication.cpp +++ b/troposphere/daybreak/nanovg/source/framework/CApplication.cpp @@ -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)