N64FlashcartMenu
|
Flashcart functions implementation. More...
Functions | |
char * | flashcart_convert_error_message (flashcart_err_t err) |
Convert a flashcart error code to a human-readable message. | |
flashcart_err_t | flashcart_init (const char **storage_prefix) |
Initialize the flashcart. | |
flashcart_err_t | flashcart_deinit (void) |
Deinitialize the flashcart. | |
bool | flashcart_has_feature (flashcart_features_t feature) |
Check if the flashcart has a specific feature. | |
flashcart_firmware_version_t | flashcart_get_firmware_version (void) |
Get the firmware version of the flashcart. | |
flashcart_err_t | flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress) |
Load a ROM into the flashcart. | |
flashcart_err_t | flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset) |
Load a file into the flashcart. | |
flashcart_err_t | flashcart_load_save (char *save_path, flashcart_save_type_t save_type) |
Load a save file into the flashcart. | |
flashcart_err_t | flashcart_load_64dd_ipl (char *ipl_path, flashcart_progress_callback_t *progress) |
Load the 64DD IPL into the flashcart. | |
flashcart_err_t | flashcart_load_64dd_disk (char *disk_path, flashcart_disk_parameters_t *disk_parameters) |
Load a 64DD disk into the flashcart. | |
flashcart_err_t | flashcart_set_next_boot_mode (flashcart_reboot_mode_t boot_mode) |
Flashcart functions implementation.
char * flashcart_convert_error_message | ( | flashcart_err_t | err | ) |
Convert a flashcart error code to a human-readable message.
Convert a flashcart error code to a human-readable error message.
err | The flashcart error code. |
flashcart_err_t flashcart_init | ( | const char ** | storage_prefix | ) |
Initialize the flashcart.
storage_prefix | Pointer to the storage prefix. |
flashcart_err_t flashcart_deinit | ( | void | ) |
Deinitialize the flashcart.
bool flashcart_has_feature | ( | flashcart_features_t | feature | ) |
Check if the flashcart has a specific feature.
feature | The feature to check. |
flashcart_firmware_version_t flashcart_get_firmware_version | ( | void | ) |
Get the firmware version of the flashcart.
Get the flashcart firmware version.
flashcart_err_t flashcart_load_rom | ( | char * | rom_path, |
bool | byte_swap, | ||
flashcart_progress_callback_t * | progress ) |
Load a ROM into the flashcart.
Load a ROM onto the flashcart.
rom_path | Path to the ROM file. |
byte_swap | Flag indicating whether to byte swap the ROM. |
progress | Progress callback function. |
flashcart_err_t flashcart_load_file | ( | char * | file_path, |
uint32_t | rom_offset, | ||
uint32_t | file_offset ) |
Load a file into the flashcart.
Load a file onto the flashcart.
file_path | Path to the file. |
rom_offset | ROM offset. |
file_offset | File offset. |
flashcart_err_t flashcart_load_save | ( | char * | save_path, |
flashcart_save_type_t | save_type ) |
Load a save file into the flashcart.
Load a save file onto the flashcart.
save_path | Path to the save file. |
save_type | The save type. |
flashcart_err_t flashcart_load_64dd_ipl | ( | char * | ipl_path, |
flashcart_progress_callback_t * | progress ) |
Load the 64DD IPL into the flashcart.
Load the 64DD IPL (BIOS) onto the flashcart.
ipl_path | Path to the IPL file. |
progress | Progress callback function. |
flashcart_err_t flashcart_load_64dd_disk | ( | char * | disk_path, |
flashcart_disk_parameters_t * | disk_parameters ) |
Load a 64DD disk into the flashcart.
Load a 64DD disk onto the flashcart.
disk_path | Path to the disk file. |
disk_parameters | Pointer to the disk parameters. |