From 1b931172fb088a6e6ead989f135dba1e078f9545 Mon Sep 17 00:00:00 2001 From: Nobbs66 Date: Thu, 18 Feb 2021 09:15:15 -0600 Subject: [PATCH] PGIF- Fix Castlevania SoTN PS1DRV handles bit 28 of GPU Status register, not PGIF. This fixes several games. --- pcsx2/ps2/pgif.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcsx2/ps2/pgif.cpp b/pcsx2/ps2/pgif.cpp index 1de3c5b8af..12b0eb653f 100644 --- a/pcsx2/ps2/pgif.cpp +++ b/pcsx2/ps2/pgif.cpp @@ -478,7 +478,6 @@ u32 getUpdPgpuStatReg() PGpuStatReg |= 0x20000000; #endif //Or maybe bit 29 of the GPU STATUS reg, should copy the state of bit 4 of the PGIF_CTRL reg? - PGpuStatReg &= ~0x10000000; //If a read (GPI->CPU) is to be done, then obviously, the GPU can't receive data. PGpuStatReg &= ~0x04000000; //Same with receiving GP0() commands. if (pgifDatRbC.count > 0) //Data FIFO has data. PGpuStatReg |= 0x08000000; //Could skip the second check, but that could cause buffer underflow on direct read.