summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-07-20 21:15:34 -0700
committerMichael Pavone <pavone@retrodev.com>2015-07-20 21:15:34 -0700
commit9d475a3ccb5b2e1e206cf4c219ec5984cec3574f (patch)
tree990b3714bc4f92006e716bb9ceeb0324a4da9587 /blastem.h
parent5733306bcd4e653994b5830cf035e7487869aeb7 (diff)
Full support for Sega mapper when it comes to data. Code in remapped sections may not work reliably. SSF2 now works.
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/blastem.h b/blastem.h
index 7d051b6..43f694d 100644
--- a/blastem.h
+++ b/blastem.h
@@ -32,6 +32,7 @@ typedef struct {
uint32_t frame_end;
uint32_t max_cycles;
uint8_t bank_regs[8];
+ uint16_t mapper_start_index;
uint8_t save_type;
io_port ports[3];
uint8_t bus_busy;
@@ -44,11 +45,10 @@ extern int break_on_sync;
extern int save_state;
extern tern_node * config;
-#define CARTRIDGE_WORDS 0x200000
#define RAM_WORDS 32 * 1024
#define Z80_RAM_BYTES 8 * 1024
-extern uint16_t cart[CARTRIDGE_WORDS];
+extern uint16_t *cart;
extern uint16_t ram[RAM_WORDS];
extern uint8_t z80_ram[Z80_RAM_BYTES];