From 8576f4d5a09b8fd27edded9c527ef7604f7677da Mon Sep 17 00:00:00 2001 From: "ardi@ist-einmalig.de" Date: Wed, 3 Jun 2009 17:30:12 +0000 Subject: [PATCH] Filesystembug (Downloadbug) still not fixed --- source/menu.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/source/menu.cpp b/source/menu.cpp index 8e4b33f7..a4b32a22 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -2128,7 +2128,7 @@ ProgressDownloadWindow(int choice2) } /**Temporary redownloading 1st image because of a fucking corruption bug **/ -/* + char URLFile[100]; if (choice2 == 2) { sprintf(URLFile,"http://www.theotherzone.com/wii/3d/176/248/%s",missingFiles[0]); // For 3D Covers @@ -2157,7 +2157,7 @@ ProgressDownloadWindow(int choice2) free(file.data); } } -*/ + HaltGui(); mainWindow->Remove(&promptWindow); @@ -3191,13 +3191,13 @@ static int MenuDiscList() countBtn.SetImageOver(&countBtnImg); countBtn.SetAlpha(255); } - if (Settings.gameDisplay==list) + if (Settings.gameDisplay==list) { listBtn.SetImage(&listBtnImg); listBtn.SetImageOver(&listBtnImg); - listBtn.SetAlpha(255); + listBtn.SetAlpha(255); } - else if (Settings.gameDisplay==grid) + else if (Settings.gameDisplay==grid) { gridBtn.SetImage(&gridBtnImg); gridBtn.SetImageOver(&gridBtnImg); @@ -3613,7 +3613,7 @@ static int MenuDiscList() } countBtn.ResetState(); - } + } else if(listBtn.GetState() == STATE_CLICKED) { if (Settings.gameDisplay!=list){ @@ -3621,7 +3621,7 @@ static int MenuDiscList() mainWindow->Remove(&gameGrid); gridBtn.SetImage(&gridBtnImg_g); gridBtn.SetImageOver(&gridBtnImg_g); - gridBtn.SetAlpha(180); + gridBtn.SetAlpha(180); } if (Settings.gameDisplay==carousel) { mainWindow->Remove(&gameCarousel); @@ -3673,12 +3673,12 @@ static int MenuDiscList() } } listBtn.ResetState(); - } + } - else if (gridBtn.GetState() == STATE_CLICKED) { - if (Settings.gameDisplay!=grid){ - if (Settings.gameDisplay==list) { - mainWindow->Remove(&gameBrowser); + else if (gridBtn.GetState() == STATE_CLICKED) { + if (Settings.gameDisplay!=grid){ + if (Settings.gameDisplay==list) { + mainWindow->Remove(&gameBrowser); if (GameIDTxt) w.Remove(GameIDTxt); if (GameRegionTxt) w.Remove(GameRegionTxt); w.Remove(&DownloadBtn); @@ -3732,12 +3732,12 @@ static int MenuDiscList() w.Append(&carouselBtn); if(isSdInserted()) { cfg_save_global(); - } + } } - gridBtn.ResetState(); - } + gridBtn.ResetState(); + } - else if (carouselBtn.GetState() == STATE_CLICKED) { + else if (carouselBtn.GetState() == STATE_CLICKED) { if (Settings.gameDisplay!=carousel){ if (Settings.gameDisplay==list) mainWindow->Remove(&gameBrowser);