From 2711702e29be2e7712bb0d24da7b68f452de41ba Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 21 Jan 2019 01:13:41 -0800 Subject: [PATCH] set.mitm: Add delay to allow fatal to work when thrown --- stratosphere/set_mitm/source/setsys_settings_items.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stratosphere/set_mitm/source/setsys_settings_items.cpp b/stratosphere/set_mitm/source/setsys_settings_items.cpp index 9f56ceb4d..6fbec5f50 100644 --- a/stratosphere/set_mitm/source/setsys_settings_items.cpp +++ b/stratosphere/set_mitm/source/setsys_settings_items.cpp @@ -38,6 +38,9 @@ static HosThread g_fatal_thread; static void FatalThreadFunc(void *arg) { Result rc = (Result)((uintptr_t)arg); + + svcSleepThread(5000000000ULL); + fatalSimple(rc); }