OSDN Git Service

[VM] Enable to build with upstream 2018-10-14 @some VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / m5 / m5.cpp
index 7d7cb1d..7e8958b 100644 (file)
@@ -363,8 +363,8 @@ bool VM::process_state(FILEIO* state_fio, bool loading)
                }
        }
        // Machine specified.
-       state_fio->StateBuffer(ram, sizeof(ram), 1);
-       state_fio->StateBuffer(ext, sizeof(ext), 1);
-       state_fio->StateBool(inserted);
+       state_fio->StateArray(ram, sizeof(ram), 1);
+       state_fio->StateArray(ext, sizeof(ext), 1);
+       state_fio->StateValue(inserted);
        return true;
 }