aboutsummaryrefslogtreecommitdiff
path: root/taihen.c
diff options
context:
space:
mode:
authorReiko Asakura2021-03-16 16:44:50 -0400
committerReiko Asakura2021-03-16 16:44:50 -0400
commit474b5e343201ae3f6a1be928260d9df0f74568a9 (patch)
tree57e42ad56e991b28b8b3a1c19725c3171fe3077c /taihen.c
parentFix missing #include <stddef.h> (diff)
downloadtaihen-474b5e343201ae3f6a1be928260d9df0f74568a9.tar.gz
Update for Vita Development Suite Libraries 0.3.0HEADmaster
Diffstat (limited to 'taihen.c')
-rw-r--r--taihen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/taihen.c b/taihen.c
index 1e170b7..07af827 100644
--- a/taihen.c
+++ b/taihen.c
@@ -367,7 +367,7 @@ int module_start(SceSize argc, const void *args) {
return SCE_KERNEL_START_FAILED;
}
if (sceSblAimgrIsGenuineDolce() && sceKernelSysrootGetShellPid() < 0) {
- kbl_param = sceKernelGetSysrootBuffer();
+ kbl_param = sceKernelSysrootGetKblParam();
if (*(uint32_t*)(kbl_param + 0xC4) == 0xFF1C && *(uint32_t*)(kbl_param + 0xD8) == 0x8) {
g_hooks[0] = taiHookFunctionImportForKernel(KERNEL_PID, &g_is_safe_mode_hook, "SceUsbServ", 0x2ED7F97A, 0x834439A7, is_safe_mode_patched);
sceSysconCtrlDolceLED(1);