mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 14:44:17 +01:00
fix a bug in saving cvs file
This commit is contained in:
parent
51459465bc
commit
6cf4b4ce10
File diff suppressed because one or more lines are too long
@ -951,18 +951,14 @@ int MenuDiscList() {
|
|||||||
|
|
||||||
choice = WindowPrompt(0,linebuf, "txt","csv",tr("Back"));
|
choice = WindowPrompt(0,linebuf, "txt","csv",tr("Back"));
|
||||||
|
|
||||||
if (choice==1)
|
if (save_gamelist(choice-1))
|
||||||
{
|
WindowPrompt(0,tr("Saved"), tr("OK"));
|
||||||
if (save_gamelist(choice-1))
|
else
|
||||||
WindowPrompt(0,tr("Saved"), tr("OK"));
|
WindowPrompt(tr("Error"),tr("Could not save."), tr("OK"));
|
||||||
else
|
menu = MENU_DISCLIST;
|
||||||
WindowPrompt(tr("Error"),tr("Could not save."), tr("OK"));
|
break;
|
||||||
menu = MENU_DISCLIST;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
//gamecntBtn.ResetState();
|
||||||
gamecntBtn.ResetState();
|
|
||||||
|
|
||||||
} else if (homeBtn.GetState() == STATE_CLICKED) {
|
} else if (homeBtn.GetState() == STATE_CLICKED) {
|
||||||
s32 thetimeofbg = bgMusic->GetPlayTime();
|
s32 thetimeofbg = bgMusic->GetPlayTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user