OSDN Git Service

[General][Qt] Merge upstream, datarecorder with sound.
[csp-qt/common_source_project-fm7.git] / source / src / vm / hc40 / hc40.h
index f8d359a..ce59abb 100644 (file)
@@ -37,6 +37,7 @@
 #define USE_AUTO_KEY_RELEASE   10
 #define USE_ACCESS_LAMP
 #define USE_DEBUGGER
+#define USE_STATE
 
 #include "../../common.h"
 
@@ -52,6 +53,8 @@ class Z80;
 class IO;
 class MEMORY;
 
+class FILEIO;
+
 class VM
 {
 protected:
@@ -114,6 +117,8 @@ public:
        bool now_skip();
        
        void update_config();
+       void save_state(FILEIO* state_fio);
+       bool load_state(FILEIO* state_fio);
        
        // ----------------------------------------
        // for each device