Skip to content

Commit

Permalink
Merge pull request #57 from fjtrujy/postponeResetIOP
Browse files Browse the repository at this point in the history
Postpone IOP reset
  • Loading branch information
uyjulian authored Apr 13, 2024
2 parents 0269a95 + 88b4ab3 commit 8bdf381
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ee/ps2link.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,22 +218,22 @@ int main(int argc, char *argv[])
SifInitRpc(0);
init_scr();

printWelcomeInfo();
if (if_conf_len == 0) {
scr_printf("Initial boot, will load config then reset\n");
getIpConfig();
pkoReset(); // Will restart execution
}

installExceptionHandlers();
restartIOP();
printWelcomeInfo();

strcpy(elfName, argv[0]);
dbgscr_printf("argv[0] is %s\n", elfName);

dbgscr_printf("loading modules\n");
loadModules();

if (if_conf_len == 0) {
scr_printf("Initial boot, will load config then reset\n");
getIpConfig();
pkoReset(); // Will restart execution
}

scr_printf("Using cached config\n");
printIpConfig();

Expand Down

0 comments on commit 8bdf381

Please sign in to comment.