Don't access GTE when CP0 disables it

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56828 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
SND\shalma_cp 2010-09-05 01:27:34 +00:00
parent 57bffa52e6
commit 193fa542ff

View File

@ -686,10 +686,16 @@ void psxCOP0() {
}
void psxCOP2() {
if ((psxRegs.CP0.n.Status & 0x40000000) == 0 )
return;
psxCP2[_Funct_]();
}
void psxBASIC() {
if ((psxRegs.CP0.n.Status & 0x40000000) == 0 )
return;
psxCP2BSC[_Rs_]();
}