Skip to content

Commit

Permalink
Fix cannot decrypt problem of cartridge version Gundam breaker 3
Browse files Browse the repository at this point in the history
Resolve #8
  • Loading branch information
d3m3vilurr committed Sep 17, 2016
1 parent 9597e2f commit 117df8d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit 117df8d

Please sign in to comment.