summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-12 02:55:27 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-12 02:55:27 +0000
commit58e7b38798101391eda07803c03227dc6aacb61f (patch)
treeb842cf70dbf6e6e601b1da2b14d3749b9913b6ce /libpcsxcore
parent27e8b5744ddab50cc9ef50b6ee1f3a94010a8cea (diff)
downloadpcsxr-58e7b38798101391eda07803c03227dc6aacb61f.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62025 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/r3000a.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/r3000a.h b/libpcsxcore/r3000a.h
index 3547069e..e4af4037 100644
--- a/libpcsxcore/r3000a.h
+++ b/libpcsxcore/r3000a.h
@@ -233,10 +233,10 @@ static inline u32 *Read_ICache(u32 pc, boolean isolate) {
// opcode line
pc_offset = pc & ~0xf;
- *(u32 *)(ICode + pc_cache + 0x0) = psxMu32(pc_offset + 0x0);
- *(u32 *)(ICode + pc_cache + 0x4) = psxMu32(pc_offset + 0x4);
- *(u32 *)(ICode + pc_cache + 0x8) = psxMu32(pc_offset + 0x8);
- *(u32 *)(ICode + pc_cache + 0xc) = psxMu32(pc_offset + 0xc);
+ *(u32 *)(ICode + pc_cache + 0x0) = psxMu32ref(pc_offset + 0x0);
+ *(u32 *)(ICode + pc_cache + 0x4) = psxMu32ref(pc_offset + 0x4);
+ *(u32 *)(ICode + pc_cache + 0x8) = psxMu32ref(pc_offset + 0x8);
+ *(u32 *)(ICode + pc_cache + 0xc) = psxMu32ref(pc_offset + 0xc);
}
// normal code