From 117df8d75bc22334995be43e44b8100b6d43646f Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Sat, 17 Sep 2016 16:58:05 +0900 Subject: [PATCH] Fix cannot decrypt problem of cartridge version Gundam breaker 3 Resolve #8 --- main.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 818a64e..99ad1ea 100644 --- a/main.c +++ b/main.c @@ -360,6 +360,15 @@ int injector_main() { ret = copydir("ux0:app/SAVEMGR00", patch); // TODO restore patch PASS_OR_MOVE(5, INJECTOR_TITLE_SELECT); + + snprintf(patch, 255, "ux0:patch/%s/sce_sys/param.sfo", curr->title_id); + snprintf(buf, 255, "recopy param.sfo to %s...", patch); + drawText(7, buf, white); + + snprintf(buf, 255, "gro0:app/%s/sce_sys/param.sfo", curr->title_id); + ret = copyfile(buf, patch); + + PASS_OR_MOVE(8, INJECTOR_TITLE_SELECT); } // backup for next cleanup @@ -368,7 +377,7 @@ int injector_main() { sceIoWrite(fd, curr->real_id, 16); sceIoClose(fd); - drawText(8, "DO NOT CLOSE APPLICATION MANUALLY", red); + drawText(10, "DO NOT CLOSE APPLICATION MANUALLY", red); // wait 3sec sceKernelDelayThread(3000000);