more oops
oops oops oops
This commit is contained in:
parent
c2d9e83c22
commit
2fd2705498
@ -968,40 +968,7 @@ static u8 SaveConfirmSaveCallback(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static u8 SaveYesNoCallback(void)
|
static u8 SaveYesNoCallback(void)
|
||||||
{
|
|
||||||
return SAVE_IN_PROGRESS;
|
return SAVE_IN_PROGRESS;
|
||||||
}
|
|
||||||
|
|
||||||
static u8 SaveConfirmInputCallback(void)
|
|
||||||
{
|
|
||||||
switch (Menu_ProcessInputNoWrapClearOnChoose())
|
|
||||||
{
|
|
||||||
case 0: // Yes
|
|
||||||
switch (gSaveFileStatus)
|
|
||||||
{
|
|
||||||
case SAVE_STATUS_EMPTY:
|
|
||||||
case SAVE_STATUS_CORRUPT:
|
|
||||||
if (gDifferentSaveFile == FALSE)
|
|
||||||
{
|
|
||||||
sSaveDialogCallback = SaveFileExistsCallback;
|
|
||||||
return SAVE_IN_PROGRESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
sSaveDialogCallback = SaveSavingMessageCallback;
|
|
||||||
return SAVE_IN_PROGRESS;
|
|
||||||
default:
|
|
||||||
sSaveDialogCallback = SaveFileExistsCallback;
|
|
||||||
return SAVE_IN_PROGRESS;
|
|
||||||
}
|
|
||||||
case -1: // B Button
|
|
||||||
case 1: // No
|
|
||||||
HideSaveInfoWindow();
|
|
||||||
HideSaveMessageWindow();
|
|
||||||
return SAVE_CANCELED;
|
|
||||||
}
|
|
||||||
|
|
||||||
return SAVE_IN_PROGRESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
// A different save file exists
|
// A different save file exists
|
||||||
static u8 SaveFileExistsCallback(void)
|
static u8 SaveFileExistsCallback(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user