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 / bubcom80 / membus.cpp
index ad39f1e..90e4b58 100644 (file)
@@ -91,9 +91,9 @@ bool MEMBUS::process_state(FILEIO* state_fio, bool loading)
        if(!MEMORY::process_state(state_fio, loading)) {
                return false;
        }
-       state_fio->StateBuffer(ram, sizeof(ram), 1);
-       state_fio->StateUint32(basic_addr.d);
-       state_fio->StateBool(ram_selected);
+       state_fio->StateArray(ram, sizeof(ram), 1);
+       state_fio->StateValue(basic_addr.d);
+       state_fio->StateValue(ram_selected);
        
        // post process
        if(loading) {