OSDN Git Service

[VM][General][WIP] Start to merge upstream 2018-10-14.Open branch upstream_20181014 .
[csp-qt/common_source_project-fm7.git] / source / src / vm / pv2000 / cmt.cpp
index 2e2387d..6117e09 100644 (file)
@@ -141,12 +141,12 @@ bool CMT::process_state(FILEIO* state_fio, bool loading)
        if(!state_fio->StateCheckInt32(this_device_id)) {
                return false;
        }
-       state_fio->StateInt32(bufcnt);
-       state_fio->StateBuffer(buffer, sizeof(buffer), 1);
-       state_fio->StateBool(play);
-       state_fio->StateBool(rec);
-       state_fio->StateUint8(start);
-       state_fio->StateUint8(bit);
+       state_fio->StateValue(bufcnt);
+       state_fio->StateArray(buffer, sizeof(buffer), 1);
+       state_fio->StateValue(play);
+       state_fio->StateValue(rec);
+       state_fio->StateValue(start);
+       state_fio->StateValue(bit);
        return true;
 }