diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-10-06 18:33:35 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-10-06 18:33:35 -0400 |
commit | d0dfc758fc6684e765736c7aad7190328d3e145c (patch) | |
tree | b6bc2f9f3c8e21531e0b59a6073c1fe645b43661 /include | |
parent | 09d5d81c9cd2295ec1a52323c7a8337313a3b021 (diff) |
decompile save_failed_screen.c
Diffstat (limited to 'include')
-rw-r--r-- | include/gba/flash_internal.h | 1 | ||||
-rw-r--r-- | include/save.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/gba/flash_internal.h b/include/gba/flash_internal.h index 6156b6c14..ba84546aa 100644 --- a/include/gba/flash_internal.h +++ b/include/gba/flash_internal.h @@ -65,6 +65,7 @@ u16 ReadFlashId(void); void StartFlashTimer(u8 phase); void SetReadFlash1(u16 *dest); void StopFlashTimer(void); +void ReadFlash(u16 sectorNum, u32 offset, u8 *dest, u32 size); u16 WaitForFlashWrite_Common(u8 phase, u8 *addr, u8 lastData); diff --git a/include/save.h b/include/save.h index e98233c67..6c1238cd2 100644 --- a/include/save.h +++ b/include/save.h @@ -76,7 +76,7 @@ u8 GetSaveValidStatus(const struct SaveSectionLocation *location); //u8 sub_8125B88(u8 a1, u8 *data, u16 size); u8 DoReadFlashWholeSection(u8, struct SaveSection *); u16 CalculateChecksum(void *, u16); -//u8 HandleSavingData(u8 saveType); +u8 HandleSavingData(u8 saveType); //u8 TrySavingData(u8 saveType); //u8 sub_8125D80(void); //bool8 sub_8125DA8(void); |