parent
2fd2705498
commit
4e3c9597fc
1
agbcc
Submodule
1
agbcc
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d59cfb5ac1ce13d4bc9875ffef1666b118338d33
|
@ -1,4 +1,7 @@
|
|||||||
.align 2
|
.align 2
|
||||||
|
gText_ConfirmSave::
|
||||||
|
.string "Would you like to save the game?$"
|
||||||
|
|
||||||
gText_AlreadySavedFile::
|
gText_AlreadySavedFile::
|
||||||
.string "u sus$"
|
.string "u sus$"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define GUARD_SAVE_H
|
#define GUARD_SAVE_H
|
||||||
|
|
||||||
// Each 4 KiB flash sector contains 3968 bytes of actual data followed by a 128 byte footer.
|
// Each 4 KiB flash sector contains 3968 bytes of actual data followed by a 128 byte footer.
|
||||||
// Only 12 bytes of the footer are used, therefore we changed the params in tbld to allow for more data.
|
// Only 12 bytes of the footer are used.
|
||||||
#define SECTOR_DATA_SIZE 4084
|
#define SECTOR_DATA_SIZE 4084
|
||||||
#define SECTOR_FOOTER_SIZE 12
|
#define SECTOR_FOOTER_SIZE 12
|
||||||
#define SECTOR_SIZE (SECTOR_DATA_SIZE + SECTOR_FOOTER_SIZE)
|
#define SECTOR_SIZE (SECTOR_DATA_SIZE + SECTOR_FOOTER_SIZE)
|
||||||
|
@ -276,6 +276,7 @@ extern const u8 gText_MenuOptionOption[];
|
|||||||
extern const u8 gText_MenuOptionExit[];
|
extern const u8 gText_MenuOptionExit[];
|
||||||
|
|
||||||
// save menu texts
|
// save menu texts
|
||||||
|
extern const u8 gText_ConfirmSave[];
|
||||||
extern const u8 gText_DifferentSaveFile[];
|
extern const u8 gText_DifferentSaveFile[];
|
||||||
extern const u8 gText_AlreadySavedFile[];
|
extern const u8 gText_AlreadySavedFile[];
|
||||||
extern const u8 gText_SavingDontTurnOff[];
|
extern const u8 gText_SavingDontTurnOff[];
|
||||||
|
@ -961,7 +961,7 @@ static u8 SaveConfirmSaveCallback(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ShowSaveMessage(SaveYesNoCallback);
|
ShowSaveMessage(gText_ConfirmSave, SaveYesNoCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
return SAVE_IN_PROGRESS;
|
return SAVE_IN_PROGRESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user