diff options
author | Reiko Asakura | 2020-06-13 10:11:29 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-06-13 10:11:29 -0400 |
commit | aa98556312f82267528801a54f6fc0509fb6a062 (patch) | |
tree | 264e2a159d44b96733acd68bb60c0bc57d9faa33 | |
parent | Add incoming_dialog.h (diff) | |
download | vds-libraries-aa98556312f82267528801a54f6fc0509fb6a062.tar.gz |
Add sceShellUtilReboot
Credits: Princess-of-Sleeping
-rw-r--r-- | include/user/shellutil.h | 7 | ||||
-rw-r--r-- | nids/360/SceShellSvc.yml | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/user/shellutil.h b/include/user/shellutil.h index 61d602b..4b0f1a9 100644 --- a/include/user/shellutil.h +++ b/include/user/shellutil.h @@ -65,6 +65,13 @@ int sceShellUtilLock(SceShellUtilLockType type); */ int sceShellUtilUnlock(SceShellUtilLockType type); +/** + * Reboot the device + * + * @param[in] unk - pass 0 + */ +void sceShellUtilReboot(int unk); + #ifdef __cplusplus } #endif diff --git a/nids/360/SceShellSvc.yml b/nids/360/SceShellSvc.yml index 53047a2..db49b0c 100644 --- a/nids/360/SceShellSvc.yml +++ b/nids/360/SceShellSvc.yml @@ -7,5 +7,6 @@ modules: functions: sceShellUtilInitEvents: 0xE8AD11EC sceShellUtilLock: 0xA9537233 + sceShellUtilReboot: 0x636544FB sceShellUtilRegisterEventHandler: 0x7B5EDFE7 sceShellUtilUnlock: 0x21A6CF54 |