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 / fmr50 / keyboard.cpp
index ec12fa7..6a33e7d 100644 (file)
@@ -114,11 +114,11 @@ bool KEYBOARD::process_state(FILEIO* state_fio, bool loading)
        if(!key_buf->process_state((void *)state_fio, loading)) {
                return false;
        }
-       state_fio->StateUint8(kbstat);
-       state_fio->StateUint8(kbdata);
-       state_fio->StateUint8(kbint);
-       state_fio->StateUint8(kbmsk);
-       state_fio->StateBuffer(table, sizeof(table), 1);
+       state_fio->StateValue(kbstat);
+       state_fio->StateValue(kbdata);
+       state_fio->StateValue(kbint);
+       state_fio->StateValue(kbmsk);
+       state_fio->StateArray(table, sizeof(table), 1);
        return true;
 }