From dda25fa49e3a12a31470834461964b4486c3b302 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 17 Feb 2022 02:14:03 +0200 Subject: [PATCH] Revert "clear Index0 data FIFO flag (#241)" This reverts commit 50ae51487697da0d2f9c93295f89d2f10694b6d8. It broke Driver 2. --- libpcsxcore/cdrom.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index ea973081..191a7373 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1281,8 +1281,8 @@ unsigned char cdrRead0(void) { if (cdr.OCUP) cdr.Ctrl |= 0x40; - else - cdr.Ctrl &= ~0x40; +// else +// cdr.Ctrl &= ~0x40; // What means the 0x10 and the 0x08 bits? I only saw it used by the bios cdr.Ctrl |= 0x18; @@ -1378,7 +1378,6 @@ unsigned char cdrRead2(void) { unsigned char ret; if (cdr.Readed == 0) { - cdr.OCUP = 0; ret = 0; } else { ret = *pTransfer++; -- 2.39.5