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 / mycomz80a / display.cpp
index 73227a4..28cd630 100644 (file)
@@ -221,12 +221,12 @@ bool DISPLAY::process_state(FILEIO* state_fio, bool loading)
        if(!state_fio->StateCheckInt32(this_device_id)) {
                return false;
        }
-       state_fio->StateBool(chr);
-       state_fio->StateBool(wide);
-       state_fio->StateUint16(cursor);
-       state_fio->StateUint16(cblink);
-       state_fio->StateBuffer(vram, sizeof(vram), 1);
-       state_fio->StateUint16(vram_addr);
+       state_fio->StateValue(chr);
+       state_fio->StateValue(wide);
+       state_fio->StateValue(cursor);
+       state_fio->StateValue(cblink);
+       state_fio->StateArray(vram, sizeof(vram), 1);
+       state_fio->StateValue(vram_addr);
        return true;
 }