summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ym3802.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-01-26 20:06:01 +1100
committer Vas Crabb <vas@vastheman.com>2018-01-26 20:07:01 +1100
commit98577c3b15a66138c3daa419def49fce26addd28 (patch)
tree03f510c427eb3d9e00e7a78214976d680f634f80 /src/devices/machine/ym3802.cpp
parent0182f6150c4168c338d7ad401cf61f4bd5d9817c (diff)
more implicit XTAL construction (nw)
Diffstat (limited to 'src/devices/machine/ym3802.cpp')
-rw-r--r--src/devices/machine/ym3802.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ym3802.cpp b/src/devices/machine/ym3802.cpp
index af3d1819f2f..603a9d82f53 100644
--- a/src/devices/machine/ym3802.cpp
+++ b/src/devices/machine/ym3802.cpp
@@ -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));