whoops! broke auto-update! fixed.

This commit is contained in:
dborth 2009-06-30 07:11:56 +00:00
parent 95923f35f8
commit 1b0ec50829

View File

@ -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;