summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
commit802454482c2843234a19a06f6acce360e0be3d60 (patch)
tree5b64111a903c93c75789390121965c055da45dd9 /blastem.h
parent3834192b16663bb4bf5098df5b7a053e9c9dd086 (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.h5
1 files changed, 4 insertions, 1 deletions
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);