Update ed64.c

fix further function that was renamed.
This commit is contained in:
Robin Jones 2024-04-27 17:50:37 +01:00 committed by GitHub
parent ed6bc2a21e
commit f646b50f76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ static flashcart_err_t ed64_load_rom (char *rom_path, flashcart_progress_callbac
return FLASHCART_ERR_LOAD;
}
fix_file_size(&fil);
fatfs_fix_file_size(&fil);
size_t rom_size = f_size(&fil);
@ -173,7 +173,7 @@ static flashcart_err_t ed64_load_file (char *file_path, uint32_t rom_offset, uin
return FLASHCART_ERR_LOAD;
}
fix_file_size(&fil);
fatfs_fix_file_size(&fil);
size_t file_size = f_size(&fil) - file_offset;