From 64bf2052e527651447319826bc679851ddce63cf Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 1 May 2018 11:02:16 -0600 Subject: [PATCH] boot2: exit process at end of main(). --- stratosphere/boot2/source/boot2_main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stratosphere/boot2/source/boot2_main.cpp b/stratosphere/boot2/source/boot2_main.cpp index 70012df0b..0849c9b36 100644 --- a/stratosphere/boot2/source/boot2_main.cpp +++ b/stratosphere/boot2/source/boot2_main.cpp @@ -156,6 +156,8 @@ int main(int argc, char **argv) LaunchTitle(std::get(g_additional_launch_programs[i]), 3, 0, NULL); } } - - return 0; + + while (true) { + svcExitProcess(); + } } \ No newline at end of file