Mercurial > repos > blastem
comparison romdb.h @ 2253:fd68fe5f723e
Add support for mapper used in Super Fighter Team release of Legend of Wukong
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 12 Dec 2022 20:51:19 -0800 |
parents | 8ee7ecbf3f21 |
children | 8016dbb0fcde |
comparison
equal
deleted
inserted
replaced
2252:6a07b13894f7 | 2253:fd68fe5f723e |
---|---|
47 MAPPER_SEGA_SRAM, | 47 MAPPER_SEGA_SRAM, |
48 MAPPER_REALTEC, | 48 MAPPER_REALTEC, |
49 MAPPER_XBAND, | 49 MAPPER_XBAND, |
50 MAPPER_MULTI_GAME, | 50 MAPPER_MULTI_GAME, |
51 MAPPER_JCART, | 51 MAPPER_JCART, |
52 MAPPER_SEGA_MED_V2 | 52 MAPPER_SEGA_MED_V2, |
53 MAPPER_SFT_WUKONG | |
53 }; | 54 }; |
54 | 55 |
55 | 56 |
56 typedef struct rom_info rom_info; | 57 typedef struct rom_info rom_info; |
57 | 58 |
80 uint8_t regions; | 81 uint8_t regions; |
81 uint8_t is_save_lock_on; //Does the save buffer actually belong to a lock-on cart? | 82 uint8_t is_save_lock_on; //Does the save buffer actually belong to a lock-on cart? |
82 uint8_t wants_cd; | 83 uint8_t wants_cd; |
83 }; | 84 }; |
84 | 85 |
85 #define GAME_ID_OFF 0x183 | 86 #define GAME_ID_OFF 0x180 |
86 #define GAME_ID_LEN 8 | 87 #define GAME_ID_LEN 11 |
87 | 88 |
88 tern_node *get_rom_db(); | 89 tern_node *get_rom_db(); |
89 rom_info configure_rom(tern_node *rom_db, void *vrom, uint32_t rom_size, void *lock_on, uint32_t lock_on_size, memmap_chunk const *base_map, uint32_t base_chunks); | 90 rom_info configure_rom(tern_node *rom_db, void *vrom, uint32_t rom_size, void *lock_on, uint32_t lock_on_size, memmap_chunk const *base_map, uint32_t base_chunks); |
90 rom_info configure_rom_heuristics(uint8_t *rom, uint32_t rom_size, memmap_chunk const *base_map, uint32_t base_chunks); | 91 rom_info configure_rom_heuristics(uint8_t *rom, uint32_t rom_size, memmap_chunk const *base_map, uint32_t base_chunks); |
91 uint8_t translate_region_char(uint8_t c); | 92 uint8_t translate_region_char(uint8_t c); |