Line 598: |
Line 598: |
| Exits the LibraryApplet and returns to running the title which launched this LibraryApplet ([[qlaunch]] for example). | | Exits the LibraryApplet and returns to running the title which launched this LibraryApplet ([[qlaunch]] for example). |
| | | |
− | Official sw enters an infinite sleep-thread loop after using this.
| + | On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |
| | | |
| ==== GetLibraryAppletInfo ==== | | ==== GetLibraryAppletInfo ==== |
Line 1,013: |
Line 1,013: |
| ==== RequestToShutdown ==== | | ==== RequestToShutdown ==== |
| No input/output. | | No input/output. |
| + | |
| + | On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |
| | | |
| ==== RequestToReboot ==== | | ==== RequestToReboot ==== |
| No input/output. | | No input/output. |
| + | |
| + | On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |
| | | |
| ==== ExitAndRequestToShowThanksMessage ==== | | ==== ExitAndRequestToShowThanksMessage ==== |
| No input/output. | | No input/output. |
| | | |
− | Used to exit the application and return to the kiosk menu. Official sw uses [[#UnlockExit]] immediately before this. | + | Used to exit the application and return to the kiosk menu. Official sw uses [[#UnlockExit]] immediately before this if needed. |
| + | |
| + | On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |
| | | |
| This throws an error when the cached [[Settings_services#GetQuestFlag]] value is 0. | | This throws an error when the cached [[Settings_services#GetQuestFlag]] value is 0. |
Line 1,566: |
Line 1,572: |
| === Exit === | | === Exit === |
| No input/output. | | No input/output. |
| + | |
| + | Exits the current applet. On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |
| | | |
| === LockExit === | | === LockExit === |
Line 2,662: |
Line 2,670: |
| ! Description | | ! Description |
| |- | | |- |
− | | 0 || u8 ProgramIndex. "ExecuteProgram". User-process enters an infinite svcSleepThread loop afterwards. | + | | 0 || u8 ProgramIndex. "ExecuteProgram". After using [[#ExecutProgram]] with this successfully, official user-processes will enter an infinite loop with sleep-thread value 86400000000000. |
| |- | | |- |
| | 1 || u64 titleID. "JumpToSubApplicationProgramForDevelopment". Only available when [[Settings_services#GetDebugModeFlag|DebugMode]] is 1. | | | 1 || u64 titleID. "JumpToSubApplicationProgramForDevelopment". Only available when [[Settings_services#GetDebugModeFlag|DebugMode]] is 1. |