mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 03:56:54 +01:00
Add fixme notes for save restore
This commit is contained in:
parent
034233547e
commit
8b3d092ac6
@ -21,6 +21,10 @@ static flashcart_err_t ed64_init (void) {
|
||||
|
||||
// FIXME: Update firmware if needed.
|
||||
// FIXME: Enable RTC if available.
|
||||
|
||||
// FIXME: retrive a config file from (probably SRAM) that might have been set.
|
||||
// This should include the location of the ROM and its save type.
|
||||
// Then, if it is valid, perform a save.
|
||||
|
||||
return FLASHCART_OK;
|
||||
}
|
||||
@ -48,6 +52,10 @@ static flashcart_err_t ed64_load_rom (char *rom_path, flashcart_progress_callbac
|
||||
return FLASHCART_ERR_LOAD;
|
||||
}
|
||||
|
||||
// FIXME: set the required actions for retriving the save file later (probably SRAM).
|
||||
// This would involve creating some content in an area of RAM that would include
|
||||
// the ROM location and its save type. This information will be used on init to perform a "save writeback".
|
||||
|
||||
fix_file_size(&fil);
|
||||
|
||||
size_t rom_size = f_size(&fil);
|
||||
|
Loading…
Reference in New Issue
Block a user