diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-09-05 01:27:34 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-09-05 01:27:34 +0000 |
| commit | 193fa542ff0de019e3dded6e4d4fb60689ac741a (patch) | |
| tree | 9348b848b45dabb476cb71a40322989da92ea691 | |
| parent | 57bffa52e68832d77a543436bf8a080bdc02aac5 (diff) | |
| download | pcsxr-193fa542ff0de019e3dded6e4d4fb60689ac741a.tar.gz | |
Don't access GTE when CP0 disables it
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56828 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | libpcsxcore/psxinterpreter.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 1f4b46cd..dff7263f 100644 --- a/libpcsxcore/psxinterpreter.c +++ b/libpcsxcore/psxinterpreter.c @@ -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_](); } |
