From 9375f05a82f5503809e9c21e1bb0479beafbbceb Mon Sep 17 00:00:00 2001 From: CelesteBlue-dev Date: Fri, 29 Jun 2018 18:07:06 +0200 Subject: [PATCH 1/2] Fix 0x50FE3B4D from ksceSysrootIsManufacturingMode to ksceSysrootUseInternalStorage Thanks to SKGleba --- db.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.yml b/db.yml index 713e9b741..ae7cdac12 100644 --- a/db.yml +++ b/db.yml @@ -2058,7 +2058,7 @@ modules: ksceSysrootIsAuCodecIcConexant: 0x46E72428 ksceSysrootIsBsodReboot: 0x4373AC96 ksceSysrootIsExternalBootMode: 0x89D19090 - ksceSysrootIsManufacturingMode: 0x55392965 + ksceSysrootUseExternalStorage: 0x55392965 ksceSysrootIsSafeMode: 0x834439A7 ksceSysrootIsUpdateMode: 0xB0E1FC67 ksceSysrootIsUsbEnumWakeup: 0x79C9AE10 From b4a49538e9a813a821ee60ad87f3b5b1e410fabf Mon Sep 17 00:00:00 2001 From: CelesteBlue-dev Date: Sat, 30 Jun 2018 01:03:33 +0200 Subject: [PATCH 2/2] Add ksceSysrootUseExternalStorage and ksceSysrootUseInternalStorage --- include/psp2kern/kernel/sysmem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/psp2kern/kernel/sysmem.h b/include/psp2kern/kernel/sysmem.h index f8872cebf..cd2d0ae08 100644 --- a/include/psp2kern/kernel/sysmem.h +++ b/include/psp2kern/kernel/sysmem.h @@ -411,7 +411,9 @@ int ksceKernelMemRangeReleaseForPid(SceUID pid, void *addr, unsigned int size); */ int ksceKernelMemRangeReleaseWithPerm(SceKernelMemoryRefPerm perm, void *addr, unsigned int size); -int ksceSysrootIsManufacturingMode(void); +int ksceSysrootUseExternalStorage(void); + +int ksceSysrootUseInternalStorage(void); int ksceDebugPrintf(const char *fmt, ...);