diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-13 19:15:37 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-13 19:15:37 -0800 |
commit | 802454482c2843234a19a06f6acce360e0be3d60 (patch) | |
tree | 5b64111a903c93c75789390121965c055da45dd9 /blastem.h | |
parent | 3834192b16663bb4bf5098df5b7a053e9c9dd086 (diff) |
It is now possible to switch back and forth between the menu ROM and the game
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 @@ typedef struct { 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 @@ extern tern_node * config; #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); |