Skip to content

Commit

Permalink
coco3: GIME timer was twice as fast as it should be (#8365)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlindner committed Jul 27, 2021
1 parent 2548561 commit be886d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mame/video/gime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
ARKANOID: Abuses TIMER = 0 for ball ricochet sounds
POP*STAR PILOT: Timer is synchronized with scanlines.
**********************************************************************/


Expand Down Expand Up @@ -480,12 +482,12 @@ void gime_device::reset_timer(void)
if (timer_type() == GIME_TIMER_63USEC)
{
// master clock divided by 8, divided by 228, divided by 2
m_gime_clock_timer->adjust(attotime::from_hz(clock()) * 3648 * m_timer_value);
m_gime_clock_timer->adjust(attotime::from_hz(clock()) * 3648 * m_timer_value / 2);
}
else
{
// master clock divided by 8, divided by 2
m_gime_clock_timer->adjust(attotime::from_hz(clock()) * 16 * m_timer_value);
m_gime_clock_timer->adjust(attotime::from_hz(clock()) * 16 * m_timer_value / 2);
}
}
else
Expand Down

0 comments on commit be886d7

Please sign in to comment.