N64FlashcartMenu
|
N64 ROM Database. More...
Go to the source code of this file.
Data Structures | |
struct | rom_info_t |
ROM Information Structure. More... | |
struct | rom_info_t.libultra |
union | rom_info_t.__unnamed22__ |
struct | rom_info_t.__unnamed22__.__unnamed26__ |
struct | rom_info_t.override |
Overrides of auto-detected CIC/save/TV types. More... | |
struct | rom_info_t.features |
The supported ROM accessories. More... | |
Enumerations | |
enum | rom_err_t { ROM_OK , ROM_ERR_LOAD_IO , ROM_ERR_SAVE_IO , ROM_ERR_NO_FILE } |
ROM error enumeration. | |
enum | rom_endianness_t { ENDIANNESS_BIG , ENDIANNESS_LITTLE , ENDIANNESS_BYTE_SWAP } |
ROM endian enumeration. More... | |
enum | rom_category_type_t { N64_CART = 'N' , N64_DISK = 'D' , N64_CART_EXPANDABLE = 'C' , N64_DISK_EXPANDABLE = 'E' , N64_ALECK64 = 'Z' } |
ROM media type enumeration. More... | |
enum | rom_destination_type_t { MARKET_JAPANESE_MULTI = 'A' , MARKET_BRAZILIAN = 'B' , MARKET_CHINESE = 'C' , MARKET_GERMAN = 'D' , MARKET_NORTH_AMERICA = 'E' , MARKET_FRENCH = 'F' , MARKET_GATEWAY64_NTSC = 'G' , MARKET_DUTCH = 'H' , MARKET_ITALIAN = 'I' , MARKET_JAPANESE = 'J' , MARKET_KOREAN = 'K' , MARKET_GATEWAY64_PAL = 'L' , MARKET_CANADIAN = 'N' , MARKET_EUROPEAN_BASIC = 'P' , MARKET_SPANISH = 'S' , MARKET_AUSTRALIAN = 'U' , MARKET_SCANDINAVIAN = 'W' , MARKET_OTHER_X = 'X' , MARKET_OTHER_Y = 'Y' , MARKET_OTHER_Z = 'Z' } |
ROM market region & language type enumeration. More... | |
enum | rom_cic_type_t { ROM_CIC_TYPE_UNKNOWN = 0 , ROM_CIC_TYPE_5101 = 5101 , ROM_CIC_TYPE_5167 = 5167 , ROM_CIC_TYPE_6101 = 6101 , ROM_CIC_TYPE_7102 = 7102 , ROM_CIC_TYPE_x102 = 6102 , ROM_CIC_TYPE_x103 = 6103 , ROM_CIC_TYPE_x105 = 6105 , ROM_CIC_TYPE_x106 = 6106 , ROM_CIC_TYPE_8301 = 8301 , ROM_CIC_TYPE_8302 = 8302 , ROM_CIC_TYPE_8303 = 8303 , ROM_CIC_TYPE_8401 = 8401 , ROM_CIC_TYPE_8501 = 8501 , ROM_CIC_TYPE_AUTOMATIC = -1 } |
ROM CIC type enumeration. | |
enum | rom_save_type_t { SAVE_TYPE_NONE = 0 , SAVE_TYPE_EEPROM_4K = 1 , SAVE_TYPE_EEPROM_16K = 2 , SAVE_TYPE_SRAM = 3 , SAVE_TYPE_SRAM_BANKED = 4 , SAVE_TYPE_SRAM_128K = 5 , SAVE_TYPE_FLASHRAM = 6 , SAVE_TYPE_FLASHRAM_PKST2 = 7 , SAVE_TYPE_AUTOMATIC = -1 } |
ROM save type enumeration. More... | |
enum | rom_tv_type_t { ROM_TV_TYPE_PAL = 0 , ROM_TV_TYPE_NTSC = 1 , ROM_TV_TYPE_MPAL = 2 , ROM_TV_TYPE_UNKNOWN = 3 , ROM_TV_TYPE_AUTOMATIC = -1 } |
enum | rom_expansion_pak_t { EXPANSION_PAK_NONE , EXPANSION_PAK_REQUIRED , EXPANSION_PAK_RECOMMENDED , EXPANSION_PAK_SUGGESTED , EXPANSION_PAK_FAULTY } |
ROM memory requirements enumeration. More... | |
Functions | |
rom_cic_type_t | rom_info_get_cic_type (rom_info_t *rom_info) |
bool | rom_info_get_cic_seed (rom_info_t *rom_info, uint8_t *seed) |
rom_err_t | rom_info_override_cic_type (path_t *path, rom_info_t *rom_info, rom_cic_type_t cic_type) |
rom_save_type_t | rom_info_get_save_type (rom_info_t *rom_info) |
rom_err_t | rom_info_override_save_type (path_t *path, rom_info_t *rom_info, rom_save_type_t save_type) |
rom_tv_type_t | rom_info_get_tv_type (rom_info_t *rom_info) |
rom_err_t | rom_info_override_tv_type (path_t *path, rom_info_t *rom_info, rom_tv_type_t tv_type) |
rom_err_t | rom_info_load (path_t *path, rom_info_t *rom_info) |
N64 ROM Database.
struct rom_info_t |
ROM Information Structure.
Data Fields | ||
---|---|---|
rom_endianness_t | endianness | The file endian. |
float | clock_rate | The clock rate defined in the ROM's header. |
uint32_t | boot_address | The boot address defined in the ROM's header. |
struct rom_info_t.libultra | libultra | |
uint64_t | check_code | The check code defined in the ROM's header. |
char | title[20] | The title defined in the ROM's header. |
union rom_info_t.__unnamed22__ | __unnamed__ | |
uint8_t | version | The ROM version defined in the ROM's header. |
rom_cic_type_t | cic_type | The CIC type required by the ROM. |
rom_save_type_t | save_type | The save type required by the ROM. |
rom_tv_type_t | tv_type | The TV type required by the ROM. |
struct rom_info_t.override | override | Overrides of auto-detected CIC/save/TV types. |
struct rom_info_t.features | features | The supported ROM accessories. |
struct rom_info_t.libultra |
union rom_info_t.__unnamed22__ |
Data Fields | ||
---|---|---|
char | game_code[4] | The game code defined in the ROM's header. |
struct rom_info_t.__unnamed22__.__unnamed26__ | __unnamed__ |
struct rom_info_t.__unnamed22__.__unnamed26__ |
Data Fields | ||
---|---|---|
rom_category_type_t | category_code: 8 | The game media type. |
char | unique_code[2] | The game unique identifier. |
rom_destination_type_t | destination_code: 8 | The game region and or market. |
struct rom_info_t.override |
Overrides of auto-detected CIC/save/TV types.
Data Fields | ||
---|---|---|
bool | cic | |
rom_cic_type_t | cic_type | |
bool | save | |
rom_save_type_t | save_type | |
bool | tv | |
rom_tv_type_t | tv_type |
struct rom_info_t.features |
The supported ROM accessories.
Data Fields | ||
---|---|---|
bool | controller_pak | |
bool | rumble_pak | |
bool | transfer_pak | |
bool | voice_recognition_unit | |
bool | real_time_clock | |
bool | disk_conversion | |
bool | combo_rom_disk_game | |
rom_expansion_pak_t | expansion_pak |
enum rom_endianness_t |
enum rom_category_type_t |
ROM media type enumeration.
ROM market region & language type enumeration.
enum rom_save_type_t |
enum rom_expansion_pak_t |
ROM memory requirements enumeration.