From 2e70f1e4301bb5a303113b707d6050e66bb650e5 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 15 Jul 2021 08:54:25 -0700 Subject: funkball: Found a reference to 32539 in the code that looks to be a reasonable guess at the timer frequency. --- src/mame/drivers/funkball.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/funkball.cpp b/src/mame/drivers/funkball.cpp index 449b2269a1a..5500f61e757 100644 --- a/src/mame/drivers/funkball.cpp +++ b/src/mame/drivers/funkball.cpp @@ -154,7 +154,9 @@ uint8_t funkball_state::timer_r(offs_t offset) { if (offset == 0) { - m_latched_timer = machine().time().as_ticks(20000); + // exact frequency unknown, but the code checks against 32539 for a timeout + // so guessing that could be it + m_latched_timer = machine().time().as_ticks(32539); return m_latched_timer >> 8; } -- cgit v1.2.3