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 / pasopia7 / display.cpp
index f0244b5..d230434 100644 (file)
@@ -767,13 +767,13 @@ bool DISPLAY::process_state(FILEIO* state_fio, bool loading)
        if(!state_fio->StateCheckInt32(this_device_id)) {
                return false;
        }
-       state_fio->StateUint8(mode);
-       state_fio->StateUint8(text_page);
-       state_fio->StateUint16(cursor);
-       state_fio->StateUint16(cblink);
-       state_fio->StateUint16(flash_cnt);
-       state_fio->StateBool(blink);
-       state_fio->StateBool(pal_dis);
+       state_fio->StateValue(mode);
+       state_fio->StateValue(text_page);
+       state_fio->StateValue(cursor);
+       state_fio->StateValue(cblink);
+       state_fio->StateValue(flash_cnt);
+       state_fio->StateValue(blink);
+       state_fio->StateValue(pal_dis);
        return true;
 }