Filesystembug (Downloadbug) still not fixed

This commit is contained in:
ardi@ist-einmalig.de 2009-06-03 17:30:12 +00:00
parent 224b947aa4
commit 8576f4d5a0

View File

@ -2128,7 +2128,7 @@ ProgressDownloadWindow(int choice2)
} }
/**Temporary redownloading 1st image because of a fucking corruption bug **/ /**Temporary redownloading 1st image because of a fucking corruption bug **/
/*
char URLFile[100]; char URLFile[100];
if (choice2 == 2) { if (choice2 == 2) {
sprintf(URLFile,"http://www.theotherzone.com/wii/3d/176/248/%s",missingFiles[0]); // For 3D Covers 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); free(file.data);
} }
} }
*/
HaltGui(); HaltGui();
mainWindow->Remove(&promptWindow); mainWindow->Remove(&promptWindow);
@ -3191,13 +3191,13 @@ static int MenuDiscList()
countBtn.SetImageOver(&countBtnImg); countBtn.SetImageOver(&countBtnImg);
countBtn.SetAlpha(255); countBtn.SetAlpha(255);
} }
if (Settings.gameDisplay==list) if (Settings.gameDisplay==list)
{ {
listBtn.SetImage(&listBtnImg); listBtn.SetImage(&listBtnImg);
listBtn.SetImageOver(&listBtnImg); listBtn.SetImageOver(&listBtnImg);
listBtn.SetAlpha(255); listBtn.SetAlpha(255);
} }
else if (Settings.gameDisplay==grid) else if (Settings.gameDisplay==grid)
{ {
gridBtn.SetImage(&gridBtnImg); gridBtn.SetImage(&gridBtnImg);
gridBtn.SetImageOver(&gridBtnImg); gridBtn.SetImageOver(&gridBtnImg);
@ -3613,7 +3613,7 @@ static int MenuDiscList()
} }
countBtn.ResetState(); countBtn.ResetState();
} }
else if(listBtn.GetState() == STATE_CLICKED) { else if(listBtn.GetState() == STATE_CLICKED) {
if (Settings.gameDisplay!=list){ if (Settings.gameDisplay!=list){
@ -3621,7 +3621,7 @@ static int MenuDiscList()
mainWindow->Remove(&gameGrid); mainWindow->Remove(&gameGrid);
gridBtn.SetImage(&gridBtnImg_g); gridBtn.SetImage(&gridBtnImg_g);
gridBtn.SetImageOver(&gridBtnImg_g); gridBtn.SetImageOver(&gridBtnImg_g);
gridBtn.SetAlpha(180); gridBtn.SetAlpha(180);
} }
if (Settings.gameDisplay==carousel) { if (Settings.gameDisplay==carousel) {
mainWindow->Remove(&gameCarousel); mainWindow->Remove(&gameCarousel);
@ -3673,12 +3673,12 @@ static int MenuDiscList()
} }
} }
listBtn.ResetState(); listBtn.ResetState();
} }
else if (gridBtn.GetState() == STATE_CLICKED) { else if (gridBtn.GetState() == STATE_CLICKED) {
if (Settings.gameDisplay!=grid){ if (Settings.gameDisplay!=grid){
if (Settings.gameDisplay==list) { if (Settings.gameDisplay==list) {
mainWindow->Remove(&gameBrowser); mainWindow->Remove(&gameBrowser);
if (GameIDTxt) w.Remove(GameIDTxt); if (GameIDTxt) w.Remove(GameIDTxt);
if (GameRegionTxt) w.Remove(GameRegionTxt); if (GameRegionTxt) w.Remove(GameRegionTxt);
w.Remove(&DownloadBtn); w.Remove(&DownloadBtn);
@ -3732,12 +3732,12 @@ static int MenuDiscList()
w.Append(&carouselBtn); w.Append(&carouselBtn);
if(isSdInserted()) { if(isSdInserted()) {
cfg_save_global(); 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!=carousel){
if (Settings.gameDisplay==list) if (Settings.gameDisplay==list)
mainWindow->Remove(&gameBrowser); mainWindow->Remove(&gameBrowser);