OSDN Git Service

[VM}[FM7][PC8801][X1] At least enable to build FM7,PC8801 and X1 (excepts X!Twin).
[csp-qt/common_source_project-fm7.git] / source / src / vm / x1 / x1.cpp
index cd97227..83c7f37 100644 (file)
@@ -962,7 +962,7 @@ void VM::update_dipswitch()
 }
 #endif
 
-#define STATE_VERSION  10
+#define STATE_VERSION  11
 
 bool VM::process_state(FILEIO* state_fio, bool loading)
 {
@@ -988,8 +988,8 @@ bool VM::process_state(FILEIO* state_fio, bool loading)
                        return false;
                }
        }
-       state_fio->StateBool(pseudo_sub_cpu);
-       state_fio->StateInt32(sound_type);
+       state_fio->StateValue(pseudo_sub_cpu);
+       state_fio->StateValue(sound_type);
        
 #ifdef _X1TURBO_FEATURE
        // post process