diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-07-10 18:46:18 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-07-10 18:46:18 -0700 |
commit | da7c1f27d44cb1bb77c057ce9cca7041931619ae (patch) | |
tree | 939abd6bb65c8d04626d956c0aa29d0244506839 /blastem.h | |
parent | 8af1d14863bb6ffad2c50b5275a848240c68c62e (diff) |
Initial work on I2C EEPROM implementation
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,7 @@ #include "psg.h" #include "io.h" #include "config.h" +#include "romdb.h" typedef struct { m68k_context *m68k; @@ -22,6 +23,8 @@ typedef struct { ym2612_context *ym; psg_context *psg; uint8_t *save_storage; + eeprom_map *eeprom_map; + uint32_t num_eeprom; uint32_t save_size; uint32_t save_ram_mask; uint32_t master_clock; //Current master clock value @@ -32,6 +35,7 @@ typedef struct { uint8_t save_type; io_port ports[3]; uint8_t bus_busy; + eeprom_state eeprom; } genesis_context; extern genesis_context * genesis; |