mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +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"));
|
||||
|
||||
if (choice==1)
|
||||
{
|
||||
if (save_gamelist(choice-1))
|
||||
WindowPrompt(0,tr("Saved"), tr("OK"));
|
||||
else
|
||||
WindowPrompt(tr("Error"),tr("Could not save."), tr("OK"));
|
||||
menu = MENU_DISCLIST;
|
||||
break;
|
||||
}
|
||||
if (save_gamelist(choice-1))
|
||||
WindowPrompt(0,tr("Saved"), tr("OK"));
|
||||
else
|
||||
WindowPrompt(tr("Error"),tr("Could not save."), tr("OK"));
|
||||
menu = MENU_DISCLIST;
|
||||
break;
|
||||
|
||||
|
||||
gamecntBtn.ResetState();
|
||||
//gamecntBtn.ResetState();
|
||||
|
||||
} else if (homeBtn.GetState() == STATE_CLICKED) {
|
||||
s32 thetimeofbg = bgMusic->GetPlayTime();
|
||||
|
Loading…
Reference in New Issue
Block a user