Skip to content

Commit

Permalink
Implemented Remove the extra save confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
laserXdolphin committed Jul 17, 2024
1 parent d814564 commit 899ea4a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/start_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ static u8 SaveYesNoCallback(void);
static u8 SaveConfirmInputCallback(void);
static u8 SaveFileExistsCallback(void);
static u8 SaveConfirmOverwriteDefaultNoCallback(void);
static u8 SaveConfirmOverwriteCallback(void);
static u8 SaveOverwriteInputCallback(void);
static u8 SaveSavingMessageCallback(void);
static u8 SaveDoSaveCallback(void);
Expand Down Expand Up @@ -1087,7 +1086,7 @@ static u8 SaveFileExistsCallback(void)
}
else
{
ShowSaveMessage(gText_AlreadySavedFile, SaveConfirmOverwriteCallback);
sSaveDialogCallback = SaveSavingMessageCallback;
}

return SAVE_IN_PROGRESS;
Expand All @@ -1100,12 +1099,6 @@ static u8 SaveConfirmOverwriteDefaultNoCallback(void)
return SAVE_IN_PROGRESS;
}

static u8 SaveConfirmOverwriteCallback(void)
{
DisplayYesNoMenuDefaultYes(); // Show Yes/No menu
sSaveDialogCallback = SaveOverwriteInputCallback;
return SAVE_IN_PROGRESS;
}

static u8 SaveOverwriteInputCallback(void)
{
Expand Down

0 comments on commit 899ea4a

Please sign in to comment.