Skip to content

Commit

Permalink
Fix _exit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Jul 22, 2024
1 parent 7fc1352 commit 7e3448c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bootstrap/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ int module_start(SceSize args, void *argp)

return 0;
}

// Define _exit too, this is needed because this module is quite messy as it is using some functions from newlib
void _exit(int status)
{
sceKernelExitGame();
}

0 comments on commit 7e3448c

Please sign in to comment.