From: notaz Date: Wed, 11 Oct 2023 22:36:37 +0000 (+0300) Subject: cdrom: adjust the resume timing hack X-Git-Tag: r24~117 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=9b84c4f7c6edcd29dc0a38f3d68263813366b8d3 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);