diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-17 23:50:41 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-17 23:50:41 -0700 |
commit | 4e282f87d2f2ee80e7d136ab6d335227a438caa1 (patch) | |
tree | 14af38b66151b5089e79cd6b284595f7f7239a9f /blastem.h | |
parent | 87e279c0c1accec9b86d70d48241a123e4a0e492 (diff) |
Save State menu option is now fully functional. Load state sort of works, but is mostly broken.
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,17 +48,18 @@ struct genesis_context { io_port ports[3]; uint8_t bus_busy; uint8_t should_exit; + uint8_t save_state; eeprom_state eeprom; }; extern genesis_context * genesis; extern int headless; extern int break_on_sync; -extern int save_state; extern tern_node * config; #define RAM_WORDS 32 * 1024 #define Z80_RAM_BYTES 8 * 1024 +#define QUICK_SAVE_SLOT 10 extern uint16_t *cart; extern uint16_t *ram; |