mirror of
https://github.com/wiiu-env/PayloadLoaderPayload.git
synced 2025-02-20 02:12:46 +01:00
Fix exiting when running some payloads (like the nand dumper)
This commit is contained in:
parent
88d25a79c3
commit
aed781e88d
@ -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…
x
Reference in New Issue
Block a user