diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-12 02:51:29 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-12 02:51:29 +0000 |
| commit | 27e8b5744ddab50cc9ef50b6ee1f3a94010a8cea (patch) | |
| tree | c38e3e5475e499b769368cb34129c70f1e2a36f8 /libpcsxcore/r3000a.c | |
| parent | 9bbb363c552598dcec7d17c7e6386a6f405edcab (diff) | |
| download | pcsxr-27e8b5744ddab50cc9ef50b6ee1f3a94010a8cea.tar.gz | |
- Added -slowboot parameter.
- Load SBI file from patches/SLUS_xxx.xx.sbi instead.
- Inlined the I-cache code for performance improvement.
- Fixed endianness issue (not tested).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/r3000a.c')
| -rw-r--r-- | libpcsxcore/r3000a.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c index bcae44ef..1422d52f 100644 --- a/libpcsxcore/r3000a.c +++ b/libpcsxcore/r3000a.c @@ -25,10 +25,7 @@ #include "cdrom.h" #include "mdec.h" #include "gpu.h" -#include "gte.h" -
-extern u32 *Read_ICache( u32 pc, u32 isolate );
-
+#include "gte.h"
R3000Acpu *psxCpu = NULL; psxRegisters psxRegs; @@ -116,7 +113,7 @@ void psxBranchTest() { u32 opcode;
// Crash Bandicoot 2: Don't run exceptions when GTE in pipeline
- opcode = *Read_ICache( psxRegs.pc, 1 );
+ opcode = SWAP32(*Read_ICache(psxRegs.pc, TRUE));
if( ((opcode >> 24) & 0xfe) != 0x4a ) {
#ifdef PSXCPU_LOG
PSXCPU_LOG("Interrupt: %x %x\n", psxHu32(0x1070), psxHu32(0x1074));
|
