From e759f776beb92864929455db868db2f895117a18 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 14 Feb 2024 15:24:57 +0100 Subject: h8_timer8: small correction in recalc_event --- src/devices/cpu/h8/h8_timer8.cpp | 2 +- src/mame/saitek/gk2000.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices/cpu/h8/h8_timer8.cpp b/src/devices/cpu/h8/h8_timer8.cpp index a40a75bf9ee..59678a7755a 100644 --- a/src/devices/cpu/h8/h8_timer8.cpp +++ b/src/devices/cpu/h8/h8_timer8.cpp @@ -296,7 +296,7 @@ void h8_timer8_channel_device::recalc_event(uint64_t cur_time) } if(event_delay != 0xffffffff) - m_event_time = ((((cur_time + m_clock_divider) / m_clock_divider) + event_delay - 1) * m_clock_divider) + m_clock_divider/2; + m_event_time = ((((cur_time + m_clock_divider/2) / m_clock_divider) + event_delay - 1) * m_clock_divider) + m_clock_divider/2; else m_event_time = 0; diff --git a/src/mame/saitek/gk2000.cpp b/src/mame/saitek/gk2000.cpp index b7bfdb77e29..462b3936a2a 100644 --- a/src/mame/saitek/gk2000.cpp +++ b/src/mame/saitek/gk2000.cpp @@ -7,7 +7,6 @@ Saitek Kasparov GK 2000 TODO: - verify buttons -- beeper sounds glitchy - add lcd - clean up WIP code - internal artwork -- cgit v1.2.3