From: notaz <notasas@gmail.com>
Date: Sun, 19 Jan 2025 20:58:28 +0000 (+0200)
Subject: cdrom: drop the propagation thing
X-Git-Tag: r25~46
X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12882b5af2c33559763018078d9e42bf58a2fcbc;p=pcsx_rearmed.git

cdrom: drop the propagation thing

It does more harm than good by causing instability.
Maybe make it optional someday.
---

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) {