-#define STATE_VERSION 3
-void KANJIROM::save_state(FILEIO *state_fio)
-{
- state_fio->FputUint32_BE(STATE_VERSION);
- state_fio->FputInt32_BE(this_device_id);
- this->out_debug_log(_T("Save State: KANJIROM: id=%d ver=%d\n"), this_device_id, STATE_VERSION);
-
- state_fio->FputBool(class2);
- state_fio->FputBool(read_ok);
- state_fio->Fwrite(data_table, sizeof(data_table), 1);
- state_fio->FputUint16_BE(kanjiaddr.w.l);
-
-#if !defined(_FM77AV_VARIANTS)
- state_fio->FputBool(jis78_emulation);
-#endif
-}