From 5082c6c70d3a866e27eecc30969c3c2b31f79d68 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 23 Dec 2024 14:21:47 +0200 Subject: [PATCH] cdrom: yet another timing hack libretro/pcsx_rearmed#858 --- libpcsxcore/cdrom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index e6ea22b2..5c7e7649 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1322,6 +1322,8 @@ static void cdrReadInterruptSetResult(unsigned char result) cdr.SetSectorPlay[0], cdr.SetSectorPlay[1], cdr.SetSectorPlay[2], cdr.CmdInProgress, cdr.IrqStat); cdr.Irq1Pending = result; + // F1 2000 timing hack :( + psxRegs.intCycle[PSXINT_CDREAD].sCycle += cdReadTime / 10; return; } SetResultSize(1); -- 2.39.5