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 / keyboard.cpp
index 31c362d..af8e202 100644 (file)
@@ -232,9 +232,9 @@ bool KEYBOARD::process_state(FILEIO* state_fio, bool loading)
        if(!key_buf->process_state((void *)state_fio, loading)) {
                return false;
        }
-       state_fio->StateInt32(key_code);
-       state_fio->StateBool(kana);
-       state_fio->StateInt32(event_cnt);
+       state_fio->StateValue(key_code);
+       state_fio->StateValue(kana);
+       state_fio->StateValue(event_cnt);
        return true;
 }