diff --git a/source/ngc/menu.cpp b/source/ngc/menu.cpp index 5ef3968..2766262 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -99,11 +99,6 @@ ResumeGui() static void HaltGui() { - #ifdef HW_RVL - if(updatethread != LWP_THREAD_NULL) - LWP_JoinThread(updatethread, NULL); - #endif - guiHalt = true; // wait for thread to finish @@ -3780,6 +3775,11 @@ MainMenu (int menu) CancelAction(); HaltGui(); + #ifdef HW_RVL + if(updatethread != LWP_THREAD_NULL) + LWP_JoinThread(updatethread, NULL); + #endif + #ifndef NO_SOUND delete bgMusic; delete enterSound;