GS: Correct GSIMR/GSCSR reg init, regression from previous release

This commit is contained in:
refractionpcsx2 committed 2023-01-31 16:55:45 +00:00
1 parent 08bae3da2e
commit 0e3397239d
3 files changed
+3 -1

No files matched your search

+2
View File
@@ -84,6 +84,8 @@ static __fi void gsCSRwrite( const tGS_CSR& csr )
gifUnit.gsFINISH.gsFINISHFired = true;
// Privilage registers also reset.
memzero(g_RealGSMem);
GSIMR.reset();
CSRreg.Reset();
gsVideoMode = GS_VideoMode::Uninitialized;
UpdateVSyncRate();
GetMTGS().SendSimplePacket(GS_RINGTYPE_RESET, 0, 0, 0);
-1
View File
@@ -153,7 +153,6 @@ union tGS_CSR
void Reset()
{
_u64 = 0;
FIFO = CSR_FIFO_EMPTY;
REV = 0x1B; // GS Revision
ID = 0x55; // GS ID
+1
View File
@@ -85,6 +85,7 @@ bool Gif_HandlerAD(u8* pMem)
{ // FINISH
GUNIT_WARN("GIF Handler - FINISH");
CSRreg.FINISH = true;
gifUnit.gsFINISH.gsFINISHFired = false;
}
else if (reg == GIF_A_D_REG_LABEL)
{ // LABEL