diff --git a/src/flashcart/ed64/ed64.c b/src/flashcart/ed64/ed64.c index 83b735f4..313722ab 100644 --- a/src/flashcart/ed64/ed64.c +++ b/src/flashcart/ed64/ed64.c @@ -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);