From 98b78a5f416b4de618bf0e2a727629590e438b19 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 7 May 2024 19:08:55 +0200 Subject: [PATCH] Fix exiting when running some payloads (like the nand dumper) --- Dockerfile | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb8c5c8..41b52e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM ghcr.io/wiiu-env/devkitppc:20240423 +FROM ghcr.io/wiiu-env/devkitppc:20240505 WORKDIR project \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index ea21c3c..4cae7ba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; }