# HG changeset patch # User Michael Pavone # Date 1741585984 25200 # Node ID 07cc0f7109f0448f12f7b911977689a1b813fa2f # Parent 2c8f541af3c5ac8f2eb5156397713e6689e6470f Fix an issue in which CD timer interrupts could get missed, at least with the new interpreter diff -r 2c8f541af3c5 -r 07cc0f7109f0 segacd.c --- a/segacd.c Sat Mar 08 21:09:54 2025 -0800 +++ b/segacd.c Sun Mar 09 22:53:04 2025 -0700 @@ -568,7 +568,7 @@ static uint32_t next_timer_int(segacd_context *cd) { if (cd->timer_pending) { - return cd->stopwatch_cycle; + return cd->m68k->cycles; } if (cd->timer_value) { return cd->stopwatch_cycle + TIMER_TICK_CLKS * cd->timer_value;