aboutsummaryrefslogtreecommitdiff
path: root/taihen.c
diff options
context:
space:
mode:
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);