From 7e3448c0af5e00a08ae2d7d688770a04c5237a23 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Mon, 22 Jul 2024 23:40:26 +0200 Subject: [PATCH] Fix _exit issue --- bootstrap/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap/main.c b/bootstrap/main.c index dc2bb23..77f68c2 100644 --- a/bootstrap/main.c +++ b/bootstrap/main.c @@ -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(); +}