- int ch;
- int addr;
- state_fio->FputUint32_BE(STATE_VERSION);
- state_fio->FputInt32_BE(this_device_id);
- this->out_debug_log(_T("Save State: MAINIO(FM8): id=%d ver=%d\n"), this_device_id, STATE_VERSION);
-
- FM7_MAINIO::save_state_main(state_fio);
- // FD0B
- // FD0F
- state_fio->FputBool(connect_psg);
- {
- state_fio->FputUint32_BE(opn_address[0]);
- state_fio->FputUint32_BE(opn_data[0]);
- state_fio->FputUint32_BE(opn_stat[0]);
- state_fio->FputUint32_BE(opn_cmdreg[0]);
- state_fio->FputUint32_BE(opn_ch3mode[0]);