Skip to content

Commit

Permalink
Merge pull request #52 from pspdev/fix_exit
Browse files Browse the repository at this point in the history
Fix `_exit` issue
  • Loading branch information
fjtrujy authored Jul 24, 2024
2 parents 7fc1352 + 7e3448c commit 2d9dbc7
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 2d9dbc7

Please sign in to comment.