diff --git a/stratosphere/ams_mitm/source/utils.cpp b/stratosphere/ams_mitm/source/utils.cpp index 27ea93f..976a82e 100644 --- a/stratosphere/ams_mitm/source/utils.cpp +++ b/stratosphere/ams_mitm/source/utils.cpp @@ -223,8 +223,6 @@ hidExit(); } - - svcExitThread(); } bool Utils::IsSdInitialized() { diff --git a/stratosphere/fatal/source/fatal_task.cpp b/stratosphere/fatal/source/fatal_task.cpp index 6cf1342..fd0f699 100644 --- a/stratosphere/fatal/source/fatal_task.cpp +++ b/stratosphere/fatal/source/fatal_task.cpp @@ -39,7 +39,6 @@ } /* Finish. */ - svcExitThread(); } static void RunTask(IFatalTask *task, u32 stack_size = 0x4000) { diff --git a/stratosphere/fatal/source/fatal_task_screen.cpp b/stratosphere/fatal/source/fatal_task_screen.cpp index a67cf71..c7b27b4 100644 --- a/stratosphere/fatal/source/fatal_task_screen.cpp +++ b/stratosphere/fatal/source/fatal_task_screen.cpp @@ -112,6 +112,15 @@ return rc; } + { + u64 layer_z = 0xCAFEBABE; + if (R_SUCCEEDED((rc = viGetDisplayMaximumZ(&this->display, &layer_z)))) { + FILE *f_dumb = fopen("layerz.txt", "w"); + fprintf(f_dumb, "%016lx\n", layer_z); + fclose(f_dumb); + } + } + /* Reset the display magnification to its default value. */ u32 display_width, display_height; if (R_FAILED((rc = viGetDisplayLogicalResolution(&this->display, &display_width, &display_height)))) { diff --git a/stratosphere/libstratosphere b/stratosphere/libstratosphere index 82c67a6..0fbc0e2 160000 --- a/stratosphere/libstratosphere +++ b/stratosphere/libstratosphere @@ -1 +1 @@ -Subproject commit 82c67a62d69f04f656da495c696f264eea6fa63a +Subproject commit 0fbc0e2f468762de62d2b14d6495247d04e80bc3 diff --git a/stratosphere/pm/source/pm_process_track.cpp b/stratosphere/pm/source/pm_process_track.cpp index bfb2aa6..03ac3be 100644 --- a/stratosphere/pm/source/pm_process_track.cpp +++ b/stratosphere/pm/source/pm_process_track.cpp @@ -28,5 +28,4 @@ process_waiter->Process(); delete process_waiter; - svcExitThread(); } \ No newline at end of file