|
N64FlashcartMenu
|
Flashcart Subsystem. More...
Go to the source code of this file.
Data Structures | |
| struct | flashcart_disk_parameters_t |
| Flashcart Disk Parameter Structure. More... | |
| struct | flashcart_firmware_version_t |
| Flashcart Firmware version Structure. More... | |
| struct | flashcart_t |
| Flashcart Structure. More... | |
Typedefs | |
| typedef void | flashcart_progress_callback_t(float progress) |
| Flashcart progress callback type. | |
Functions | |
| char * | flashcart_convert_error_message (flashcart_err_t err) |
| Convert a flashcart error code to a human-readable error 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 flashcart firmware version. | |
| flashcart_err_t | flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress) |
| Load a ROM onto the flashcart. | |
| flashcart_err_t | flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset) |
| Load a file onto the flashcart. | |
| flashcart_err_t | flashcart_load_save (char *save_path, flashcart_save_type_t save_type) |
| Load a save file onto the flashcart. | |
| flashcart_err_t | flashcart_load_64dd_ipl (char *ipl_path, flashcart_progress_callback_t *progress) |
| Load the 64DD IPL (BIOS) onto the flashcart. | |
| flashcart_err_t | flashcart_load_64dd_disk (char *disk_path, flashcart_disk_parameters_t *disk_parameters) |
| Load a 64DD disk onto the flashcart. | |
| flashcart_err_t | flashcart_set_next_boot_mode (flashcart_reboot_mode_t boot_mode) |
Flashcart Subsystem.
| struct flashcart_disk_parameters_t |
| struct flashcart_firmware_version_t |
| struct flashcart_t |
Flashcart Structure.
| Data Fields | ||
|---|---|---|
| flashcart_err_t(*)(void) | init | The flashcart initialization function. |
| flashcart_err_t(*)(void) | deinit | The flashcart de-initialization function. |
| bool(*)(flashcart_features_t feature) | has_feature | The flashcart feature function. |
| flashcart_firmware_version_t(*)(void) | get_firmware_version | The flashcart firmware version function. |
| flashcart_err_t(*)(char *rom_path, flashcart_progress_callback_t *progress) | load_rom | The flashcart ROM load function. |
| flashcart_err_t(*)(char *file_path, uint32_t rom_offset, uint32_t file_offset) | load_file | The flashcart file load function. |
| flashcart_err_t(*)(char *save_path) | load_save | The flashcart save file load function. |
| flashcart_err_t(*)(char *ipl_path, flashcart_progress_callback_t *progress) | load_64dd_ipl | The flashcart disk bios load function. |
| flashcart_err_t(*)(char *disk_path, flashcart_disk_parameters_t *disk_parameters) | load_64dd_disk | The flashcart disk load function. |
| flashcart_err_t(*)(flashcart_save_type_t save_type) | set_save_type | The flashcart set save type function. |
| flashcart_err_t(*)(char *save_path) | set_save_writeback | The flashcart set save writeback function. |
| flashcart_err_t(*)(flashcart_reboot_mode_t boot_mode) | set_next_boot_mode | The flashcart set boot mode function. |
| enum flashcart_err_t |
Flashcart error enumeration.
| enum flashcart_features_t |
List of optional supported flashcart features.
Flashcart save type enumeration.
| char * flashcart_convert_error_message | ( | flashcart_err_t | err | ) |
Convert a flashcart error code to a human-readable error message.
| err | The flashcart error code. |
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 flashcart feature to check. |
| feature | The feature to check. |
| flashcart_firmware_version_t flashcart_get_firmware_version | ( | void | ) |
Get the flashcart firmware version.
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 onto the flashcart.
| rom_path | The path to the ROM file. |
| byte_swap | Whether to byte swap the ROM. |
| progress | Callback function for progress updates. |
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 onto the flashcart.
| file_path | The path to the file. |
| rom_offset | The ROM offset. |
| file_offset | The file offset. |
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 onto the flashcart.
| save_path | The path to the save file. |
| save_type | The type of save. |
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 (BIOS) onto the flashcart.
| ipl_path | The path to the IPL file. |
| progress | Callback function for progress updates. |
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 onto the flashcart.
| disk_path | The path to the disk file. |
| disk_parameters | Pointer to the disk parameters structure. |
Load a 64DD disk onto the flashcart.
| disk_path | Path to the disk file. |
| disk_parameters | Pointer to the disk parameters. |