mirror of https://github.com/PCSX2/pcsx2.git
GS: Clear Privilage registers on GS Reset via CSR
This commit is contained in:
parent
1c3379f082
commit
c1bd1fcbd4
|
@ -85,6 +85,8 @@ static __fi void gsCSRwrite( const tGS_CSR& csr )
|
||||||
//Console.Warning( "csr.RESET" );
|
//Console.Warning( "csr.RESET" );
|
||||||
//gifUnit.Reset(true); // Don't think gif should be reset...
|
//gifUnit.Reset(true); // Don't think gif should be reset...
|
||||||
gifUnit.gsSIGNAL.queued = false;
|
gifUnit.gsSIGNAL.queued = false;
|
||||||
|
// Privilage registers also reset.
|
||||||
|
memset(PS2MEM_GS, 0, sizeof(PS2MEM_GS));
|
||||||
GetMTGS().SendSimplePacket(GS_RINGTYPE_RESET, 0, 0, 0);
|
GetMTGS().SendSimplePacket(GS_RINGTYPE_RESET, 0, 0, 0);
|
||||||
const u32 field = CSRreg.FIELD;
|
const u32 field = CSRreg.FIELD;
|
||||||
CSRreg.Reset();
|
CSRreg.Reset();
|
||||||
|
|
Loading…
Reference in New Issue