diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-07-06 19:46:46 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-07-06 19:46:46 -0700 |
commit | 358991e7fef42ae206231aabfeee045e5214dbe4 (patch) | |
tree | cd302c088ac4e172f6cdcd4ee6ec28669c2c0e11 /blastem.h | |
parent | 0be7e726ad839d36d50db630b24ea0f1dc141c08 (diff) |
SRAM detection from ROM header is no working correctly again
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,14 +21,15 @@ typedef struct { vdp_context *vdp; ym2612_context *ym; psg_context *psg; - uint8_t *save_ram; + uint8_t *save_storage; + uint32_t save_size; uint32_t save_ram_mask; - uint32_t save_flags; uint32_t master_clock; //Current master clock value uint32_t normal_clock; //Normal master clock (used to restore master clock after turbo mode) uint32_t frame_end; uint32_t max_cycles; uint8_t bank_regs[8]; + uint8_t save_type; io_port ports[3]; uint8_t bus_busy; } genesis_context; |