Mercurial > repos > blastem
diff blastem.h @ 776:cbf97d335444
Full support for Sega mapper when it comes to data. Code in remapped sections may not work reliably. SSF2 now works.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 20 Jul 2015 21:15:34 -0700 |
parents | 4638b88bc72d |
children | 092524bb2e8f |
line wrap: on
line diff
--- a/blastem.h Sun Jul 19 22:30:40 2015 -0700 +++ b/blastem.h Mon Jul 20 21:15:34 2015 -0700 @@ -32,6 +32,7 @@ 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 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];