diff options
author | 2019-06-14 19:51:20 +0200 | |
---|---|---|
committer | 2019-06-14 19:51:20 +0200 | |
commit | 02a916957ff551f411dfc2d6aa971ff8db3d8c0c (patch) | |
tree | 9e9f44413fc3bbd9726409ac70b3db96d51af6d1 /src/devices/cpu/tms7000/tms7000.cpp | |
parent | 651c467df4d03259a2c22217bb5671574eb5469b (diff) |
tms7000: apply tim's fix for timer divider (nw)
Diffstat (limited to 'src/devices/cpu/tms7000/tms7000.cpp')
-rw-r--r-- | src/devices/cpu/tms7000/tms7000.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/tms7000/tms7000.cpp b/src/devices/cpu/tms7000/tms7000.cpp index 2034f31756a..11014f63994 100644 --- a/src/devices/cpu/tms7000/tms7000.cpp +++ b/src/devices/cpu/tms7000/tms7000.cpp @@ -438,7 +438,7 @@ void tms7000_device::timer_run(int tmr) // run automatic timer if source is internal if ((m_timer_control[tmr] & 0xe0) == 0x80) { - attotime period = attotime::from_hz(clock()) * 8 * (m_timer_prescaler[tmr] + 1); // fOSC/16 - fOSC is freq _before_ internal clockdivider + attotime period = attotime::from_hz(clock()) * 16 * (m_timer_prescaler[tmr] + 1); // fOSC/16 - fOSC is freq _before_ internal clockdivider m_timer_handle[tmr]->adjust(period, tmr); } } |