mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added disabled _appletExitProcessAndReturn().
This commit is contained in:
parent
7fa0397c16
commit
f5606bfb8a
@ -65,6 +65,8 @@ static Result _appletSetPerformanceModeChangedNotification(u8 flag);
|
||||
//static Result _appletLockExit(void);
|
||||
//static Result _appletUnlockExit(void);
|
||||
|
||||
//static Result _appletExitProcessAndReturn(void);
|
||||
|
||||
Result appletInitialize(void)
|
||||
{
|
||||
if (serviceIsActive(&g_appletSrv))
|
||||
@ -235,6 +237,10 @@ void appletExit(void)
|
||||
{
|
||||
apmExit();
|
||||
|
||||
//TODO: Enable this somehow later with more condition(s)?
|
||||
/*if (__nx_applet_type == AppletType_LibraryApplet)
|
||||
_appletExitProcessAndReturn();*/
|
||||
|
||||
if (g_appletMessageEventHandle != INVALID_HANDLE) {
|
||||
svcCloseHandle(g_appletMessageEventHandle);
|
||||
g_appletMessageEventHandle = INVALID_HANDLE;
|
||||
@ -964,6 +970,10 @@ Result appletCreateManagedDisplayLayer(u64 *out) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
/*static Result _appletExitProcessAndReturn(void) {
|
||||
return _appletCmdNoIO(&g_appletILibraryAppletSelfAccessor, 10);
|
||||
}*/
|
||||
|
||||
u8 appletGetOperationMode(void) {
|
||||
return g_appletOperationMode;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user