N64FlashcartMenu
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations | Functions
flashcart.h File Reference

Flashcart Subsystem. More...

Go to the source code of this file.

Data Structures

struct  flashcart_t
 Flashcart Structure. More...
 

Typedefs

typedef void flashcart_progress_callback_t(float progress)
 

Enumerations

enum  flashcart_error_t {
  FLASHCART_OK , FLASHCART_ERROR_NOT_DETECTED , FLASHCART_ERROR_OUTDATED , FLASHCART_ERROR_SD_CARD ,
  FLASHCART_ERROR_ARGS , FLASHCART_ERROR_LOAD , FLASHCART_ERROR_INT
}
 Flashcart error enumeration.
 
enum  flashcart_save_type_t {
  FLASHCART_SAVE_TYPE_NONE , FLASHCART_SAVE_TYPE_EEPROM_4K , FLASHCART_SAVE_TYPE_EEPROM_16K , FLASHCART_SAVE_TYPE_SRAM ,
  FLASHCART_SAVE_TYPE_SRAM_BANKED , FLASHCART_SAVE_TYPE_SRAM_128K , FLASHCART_SAVE_TYPE_FLASHRAM , __FLASHCART_SAVE_TYPE_END
}
 Flashcart save type enumeration.
 

Functions

flashcart_error_t flashcart_init (void)
 
flashcart_error_t flashcart_deinit (void)
 
flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress)
 
flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type)
 

Detailed Description

Flashcart Subsystem.

SC64 Flashcart Internal Utilities.

SC64 Flashcart Utilities.