18 FLASHCART_ERR_NOT_DETECTED,
19 FLASHCART_ERR_OUTDATED,
20 FLASHCART_ERR_SD_CARD,
24 FLASHCART_ERR_FUNCTION_NOT_SUPPORTED,
29 FLASHCART_FEATURE_64DD,
30 FLASHCART_FEATURE_RTC,
35 FLASHCART_SAVE_TYPE_NONE,
36 FLASHCART_SAVE_TYPE_EEPROM_4K,
37 FLASHCART_SAVE_TYPE_EEPROM_16K,
38 FLASHCART_SAVE_TYPE_SRAM,
39 FLASHCART_SAVE_TYPE_SRAM_BANKED,
40 FLASHCART_SAVE_TYPE_SRAM_128K,
41 FLASHCART_SAVE_TYPE_FLASHRAM,
42 FLASHCART_SAVE_TYPE_FLASHRAM_PKST2,
43 __FLASHCART_SAVE_TYPE_END
48 bool development_drive;
50 bool bad_system_area_lbas[24];
51 uint8_t defect_tracks[16][12];
54typedef void flashcart_progress_callback_t (
float progress);
65 flashcart_err_t (*load_rom) (
char *rom_path, flashcart_progress_callback_t *progress);
67 flashcart_err_t (*load_file) (
char *file_path, uint32_t rom_offset, uint32_t file_offset);
71 flashcart_err_t (*load_64dd_ipl) (
char *ipl_path, flashcart_progress_callback_t *progress);
85flashcart_err_t flashcart_load_rom (
char *rom_path,
bool byte_swap, flashcart_progress_callback_t *progress);
86flashcart_err_t flashcart_load_file (
char *file_path, uint32_t rom_offset, uint32_t file_offset);
88flashcart_err_t flashcart_load_64dd_ipl (
char *ipl_path, flashcart_progress_callback_t *progress);
flashcart_err_t
Flashcart error enumeration.
Definition: flashcart.h:16
flashcart_save_type_t
Flashcart save type enumeration.
Definition: flashcart.h:34
flashcart_features_t
List of optional supported flashcart features.
Definition: flashcart.h:28
Flashcart Disk Parameter Structure.
Definition: flashcart.h:47
Flashcart Structure.
Definition: flashcart.h:57