summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-07-06 19:46:46 -0700
committerMichael Pavone <pavone@retrodev.com>2015-07-06 19:46:46 -0700
commit358991e7fef42ae206231aabfeee045e5214dbe4 (patch)
treecd302c088ac4e172f6cdcd4ee6ec28669c2c0e11 /blastem.h
parent0be7e726ad839d36d50db630b24ea0f1dc141c08 (diff)
SRAM detection from ROM header is no working correctly again
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/blastem.h b/blastem.h
index f3bf4c6..b761149 100644
--- a/blastem.h
+++ b/blastem.h
@@ -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;