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 / jx / keyboard.cpp
index 617bb74..22ef59e 100644 (file)
@@ -208,11 +208,11 @@ bool KEYBOARD::process_state(FILEIO* state_fio, bool loading)
                return false;
        }
 #ifndef KEYBOARD_HACK
-       state_fio->StateUint64(send_data);
-       state_fio->StateInt32(send_count);
+       state_fio->StateValue(send_data);
+       state_fio->StateValue(send_count);
 #endif
-       state_fio->StateBool(key_latched);
-       state_fio->StateUint8(nmi_reg);
+       state_fio->StateValue(key_latched);
+       state_fio->StateValue(nmi_reg);
        return true;
 }