From: kub Date: Thu, 30 Nov 2023 23:59:43 +0000 (+0100) Subject: core, fix no ym2612 timers if z80 in reset X-Git-Tag: v2.00~154 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0ecb299796e232b67183f1c673b0eb00ca2b609;p=picodrive.git core, fix no ym2612 timers if z80 in reset --- diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index 3e5a038e..5a735449 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -334,7 +334,7 @@ static int PicoFrameHints(void) // get samples from sound chips PsndGetSamples(y); - timers_cycle(Pico.t.z80c_aim); + timers_cycle(cycles_68k_to_z80(Pico.t.m68c_aim - Pico.t.m68c_frame_start)); pv->hint_cnt = hint;