x68k: only set timer if op is set

This commit is contained in:
cracyc 2023-09-04 11:07:09 -05:00
parent 085525bb79
commit 0873030af5

View File

@ -455,9 +455,8 @@ void x68k_crtc_device::crtc_w(offs_t offset, u16 data, u16 mem_mask)
} }
} }
} }
} }
m_operation_end_timer->adjust(attotime::from_msec(5), 0x02); // time taken to do operation is a complete guess. if (data & 0x02) m_operation_end_timer->adjust(attotime::from_msec(5), 0x02); // time taken to do operation is a complete guess.
break; break;
} }
// LOG("%s CRTC: Wrote %04x to CRTC register %i\n",machine().describe_context(), data, offset); // LOG("%s CRTC: Wrote %04x to CRTC register %i\n",machine().describe_context(), data, offset);