diff blastem.h @ 961:750995b587a0

Save State menu option is now fully functional. Load state sort of works, but is mostly broken.
author Michael Pavone <pavone@retrodev.com>
date Sun, 17 Apr 2016 23:50:41 -0700
parents 1618d3676a35
children e28f365605da
line wrap: on
line diff
--- a/blastem.h	Sun Apr 17 20:31:22 2016 -0700
+++ b/blastem.h	Sun Apr 17 23:50:41 2016 -0700
@@ -48,17 +48,18 @@
 	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;