From: notaz Date: Thu, 17 Feb 2022 00:16:47 +0000 (+0200) Subject: Revert "clear Index0 data FIFO flag (#241)" X-Git-Tag: r24l~506 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e3ce9afd1ddd5c16f20957cc7a46f6e681bff50;p=pcsx_rearmed.git Revert "clear Index0 data FIFO flag (#241)" This reverts commit 657d601ffa80d8f1f034c44d0aaf84010fa36e5f. It broke Driver 2 (#612). --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index e6692e9b..1646d0ed 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1279,8 +1279,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; @@ -1375,7 +1375,6 @@ unsigned char cdrRead2(void) { unsigned char ret; if (cdr.Readed == 0) { - cdr.OCUP = 0; ret = 0; } else { ret = *pTransfer++;