Fix exiting when running some payloads (like the nand dumper)

This commit is contained in:
Maschell 2024-05-07 19:08:55 +02:00
parent 88d25a79c3
commit 98b78a5f41
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,3 @@
FROM ghcr.io/wiiu-env/devkitppc:20240423
FROM ghcr.io/wiiu-env/devkitppc:20240505
WORKDIR project

View File

@ -123,6 +123,7 @@ extern "C" int _start(int argc, char **argv) {
if (entryPoint != 0) {
res = ((int (*)(int, char **)) entryPoint)(argc, argv);
}
_Exit(0);
return res;
}