Mercurial > repos > blastem
diff blastem.h @ 883:9f149f0e98b7
It is now possible to switch back and forth between the menu ROM and the game
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Nov 2015 19:15:37 -0800 |
parents | b6842dfb8edf |
children | 5e4fb650de58 |
line wrap: on
line diff
--- a/blastem.h Mon Nov 09 22:34:36 2015 -0800 +++ b/blastem.h Fri Nov 13 19:15:37 2015 -0800 @@ -15,6 +15,7 @@ #include "io.h" #include "config.h" #include "romdb.h" +#include "arena.h" typedef struct { m68k_context *m68k; @@ -22,9 +23,11 @@ vdp_context *vdp; ym2612_context *ym; psg_context *psg; + uint16_t *cart; uint16_t *work_ram; uint8_t *zram; void *extra; + arena *arena; char *next_rom; uint8_t *save_storage; eeprom_map *eeprom_map; @@ -53,7 +56,7 @@ #define Z80_RAM_BYTES 8 * 1024 extern uint16_t *cart; -extern uint16_t ram[RAM_WORDS]; +extern uint16_t *ram; extern uint8_t z80_ram[Z80_RAM_BYTES]; uint16_t read_dma_value(uint32_t address);