summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/mc146818.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/mc146818.c')
-rw-r--r--src/emu/machine/mc146818.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/mc146818.c b/src/emu/machine/mc146818.c
index 681b9ecfd1c..bc048effdc1 100644
--- a/src/emu/machine/mc146818.c
+++ b/src/emu/machine/mc146818.c
@@ -507,7 +507,7 @@ WRITE8_MEMBER( mc146818_device::write )
// fixme: allow different time base
data &= 0x0f;
if (m_data[0x0b] & 0x40) {
- if (data > 2)
+ if (data > 2)
m_period = attotime::from_hz(32768 >> (data - 1));
else if (data > 0)
m_period = attotime::from_hz(32768 >> (data + 6));