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 / hc80 / memory.cpp
index b9d6d62..b726d66 100644 (file)
@@ -101,8 +101,8 @@ bool MEMORY::process_state(FILEIO* state_fio, bool loading)
        if(!state_fio->StateCheckInt32(this_device_id)) {
                return false;
        }
-       state_fio->StateBuffer(ram, sizeof(ram), 1);
-       state_fio->StateUint8(bank);
+       state_fio->StateArray(ram, sizeof(ram), 1);
+       state_fio->StateValue(bank);
        
        // post process
        if(loading) {