mirror of
https://github.com/wiiu-env/PayloadLoaderPayload.git
synced 2024-06-29 14:56:03 +02:00
Fix exiting when running some payloads (like the nand dumper)
This commit is contained in:
parent
88d25a79c3
commit
98b78a5f41
|
@ -1,3 +1,3 @@
|
||||||
FROM ghcr.io/wiiu-env/devkitppc:20240423
|
FROM ghcr.io/wiiu-env/devkitppc:20240505
|
||||||
|
|
||||||
WORKDIR project
|
WORKDIR project
|
|
@ -123,6 +123,7 @@ extern "C" int _start(int argc, char **argv) {
|
||||||
if (entryPoint != 0) {
|
if (entryPoint != 0) {
|
||||||
res = ((int (*)(int, char **)) entryPoint)(argc, argv);
|
res = ((int (*)(int, char **)) entryPoint)(argc, argv);
|
||||||
}
|
}
|
||||||
|
_Exit(0);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user