more implicit XTAL construction (nw)

This commit is contained in:
Vas Crabb 2018-01-26 20:06:01 +11:00
parent 0182f6150c
commit 98577c3b15

View File

@ -260,7 +260,7 @@ WRITE8_MEMBER(ym3802_device::write)
{
if((data & 0x07) == 2)
{
const XTAL rate = (m_reg[REG_CCR] & 0x02) ? m_clkm_rate / 4 : m_clkm_rate / 8;
const double rate = (m_reg[REG_CCR] & 0x02) ? m_clkm_rate / 4 : m_clkm_rate / 8;
// start message to click counter
m_midi_counter_timer->adjust(attotime::from_hz(rate),0,attotime::from_hz(rate));