mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Call appletSetFocusHandlingMode in appletExit for AppletType_Application.
This commit is contained in:
parent
6d2699b38d
commit
dc011024f9
@ -272,6 +272,8 @@ void appletExit(void)
|
||||
{
|
||||
if (atomicDecrement64(&g_refCnt) == 0)
|
||||
{
|
||||
if (__nx_applet_type == AppletType_Application) appletSetFocusHandlingMode(1);
|
||||
|
||||
if ((envIsNso() && __nx_applet_exit_mode==0) || __nx_applet_exit_mode==1) {
|
||||
if (_appletIsApplication() ||
|
||||
__nx_applet_type == AppletType_LibraryApplet) {
|
||||
|
Loading…
Reference in New Issue
Block a user