From: notaz Date: Wed, 11 Oct 2023 22:36:37 +0000 (+0300) Subject: cdrom: adjust the resume timing hack X-Git-Tag: r24l~135 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d021fd1a59d5c587e31b322e9c24ce1abe1939e4;p=pcsx_rearmed.git cdrom: adjust the resume timing hack otherwise some load times become excessive, like in ff7 --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index e232d05a..e23660ce 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -577,7 +577,7 @@ static int cdrSeekTime(unsigned char *target) seekTime = MAX_VALUE(seekTime, 20000); // need this stupidly long penalty or else Spyro2 intro desyncs - pausePenalty = (s32)(psxRegs.cycle - cdr.LastReadCycles) > cdReadTime * 4 ? cdReadTime * 25 : 0; + pausePenalty = (s32)(psxRegs.cycle - cdr.LastReadCycles) > cdReadTime * 8 ? cdReadTime * 25 : 0; seekTime += pausePenalty; seekTime = MIN_VALUE(seekTime, PSXCLK * 2 / 3);