summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/upd7810/upd7810.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/upd7810/upd7810.cpp')
-rw-r--r--src/devices/cpu/upd7810/upd7810.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/upd7810/upd7810.cpp b/src/devices/cpu/upd7810/upd7810.cpp
index 467817c6086..4e845d4e6e1 100644
--- a/src/devices/cpu/upd7810/upd7810.cpp
+++ b/src/devices/cpu/upd7810/upd7810.cpp
@@ -1456,9 +1456,9 @@ void upd7810_device::handle_timers(int cycles)
/* reset A/D converter */
m_adcnt = 0;
if (ANM & 0x10)
- m_adtot = 144/3;
+ m_adtot = 144;
else
- m_adtot = 192/3;
+ m_adtot = 192;
m_adout = 0;
m_shdone = 0;
if (ANM & 0x01)