From f15ed0c57d825c633be290d71e455190a96e81ff Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 30 Jun 2009 07:12:38 +0000 Subject: [PATCH] whoops! broke auto-update! fixed. --- source/ngc/menu.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/ngc/menu.cpp b/source/ngc/menu.cpp index 851b904..91032a0 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -96,11 +96,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 @@ -4339,6 +4334,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;