Mercurial > repos > blastem
diff romdb.h @ 1149:6b0da6021544
Don't lock up CPU if performing a read with writes configured when in PBC mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 04 Jan 2017 20:43:22 -0800 |
parents | 5fb64487b6e1 |
children | 2e6dcb5c11a2 |
line wrap: on
line diff
--- a/romdb.h Tue Jan 03 23:03:30 2017 -0800 +++ b/romdb.h Wed Jan 04 20:43:22 2017 -0800 @@ -13,7 +13,6 @@ #define SAVE_NONE 0xFF #include "tern.h" -#include "backend.h" typedef struct { uint32_t start; @@ -35,7 +34,12 @@ uint8_t latch; } eeprom_state; -typedef struct { + +typedef struct rom_info rom_info; + +#include "backend.h" + +struct rom_info { char *name; memmap_chunk *map; uint8_t *save_buffer; @@ -51,7 +55,7 @@ uint16_t mapper_start_index; uint8_t save_type; uint8_t regions; -} rom_info; +}; tern_node *load_rom_db(); 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);