diff options
author | 2020-05-02 23:57:17 +0200 | |
---|---|---|
committer | 2020-05-02 23:57:33 +0200 | |
commit | 6600710c7aa3aa59cd07029473853c9ed190b6bd (patch) | |
tree | a9b92e388ba402dd5544a3a54eaee2dff823fe40 /src/devices/cpu | |
parent | c09370d78417730f76cd697f1dc0fe1c6ad917e7 (diff) |
leonardo: fix lockup and add buttonpanel leds (nw)
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/m6800/m6801.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6800/m6801.cpp b/src/devices/cpu/m6800/m6801.cpp index 5052b436e2a..56b893a3c5e 100644 --- a/src/devices/cpu/m6800/m6801.cpp +++ b/src/devices/cpu/m6800/m6801.cpp @@ -462,7 +462,7 @@ void m6801_cpu_device::set_timer_event() void hd6301x_cpu_device::set_timer_event() { m6801_cpu_device::set_timer_event(); - if (OC2D - CTD < m_timer_next) + if (OC2D - CTD < OCD - CTD && OC2D - CTD < TOD - CTD) m_timer_next = OC2D; } |