From 35f48a59d0135474fb838edacf73702de486fa69 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 25 Oct 2018 13:28:19 -0400 Subject: [PATCH] Use applet exit-locking. --- nx_main/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx_main/main.c b/nx_main/main.c index 9faab41..c9c6e0e 100644 --- a/nx_main/main.c +++ b/nx_main/main.c @@ -36,6 +36,7 @@ int main(int argc, char **argv) memset(errormsg, 0, sizeof(errormsg)); + appletLockExit(); appletSetScreenShotPermission(1); ColorSetId theme; @@ -180,6 +181,8 @@ int main(int argc, char **argv) plExit(); setsysExit(); + appletUnlockExit(); + return 0; }