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;
}