From 802454482c2843234a19a06f6acce360e0be3d60 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 13 Nov 2015 19:15:37 -0800 Subject: It is now possible to switch back and forth between the menu ROM and the game --- blastem.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'blastem.h') diff --git a/blastem.h b/blastem.h index a4e2d1f..c5150a4 100644 --- a/blastem.h +++ b/blastem.h @@ -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); -- cgit v1.2.3