From 12882b5af2c33559763018078d9e42bf58a2fcbc Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 19 Jan 2025 22:58:28 +0200 Subject: [PATCH] cdrom: drop the propagation thing It does more harm than good by causing instability. Maybe make it optional someday. --- libpcsxcore/cdrom.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index e834275c..68748168 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -663,6 +663,8 @@ static int msfiEq(const u8 *a, const u8 *b) void cdrPlayReadInterrupt(void) { + // this works but causes instability for timing sensitive games +#if 0 int hit = cdra_prefetch(cdr.SetSectorPlay[0], cdr.SetSectorPlay[1], cdr.SetSectorPlay[2]); if (!hit && cdr.PhysCdPropagations < 75/2) { // this propagates the real cdrom delays to the emulated game @@ -670,7 +672,7 @@ void cdrPlayReadInterrupt(void) cdr.PhysCdPropagations++; return; } - +#endif cdr.LastReadSeekCycles = psxRegs.cycle; if (cdr.Reading) { -- 2.39.5