notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cdrom: adjust logging
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
linkage_arm.S
diff --git
a/libpcsxcore/new_dynarec/linkage_arm.S
b/libpcsxcore/new_dynarec/linkage_arm.S
index
7e0db2d
..
f97b2d0
100644
(file)
--- a/
libpcsxcore/new_dynarec/linkage_arm.S
+++ b/
libpcsxcore/new_dynarec/linkage_arm.S
@@
-242,6
+242,7
@@
FUNCTION(cc_interrupt):
@@ str r10, [fp, #LO_reg_cop0+36] /* Count - not on PSX */
mov r10, lr
@@ str r10, [fp, #LO_reg_cop0+36] /* Count - not on PSX */
mov r10, lr
+ add r0, fp, #(LO_psxRegs + 34*4) /* CP0 */
bl gen_interupt
mov lr, r10
ldr r10, [fp, #LO_cycle]
bl gen_interupt
mov lr, r10
ldr r10, [fp, #LO_cycle]
@@
-301,7
+302,8
@@
call_psxException:
ldr r3, [fp, #LO_last_count]
str r2, [fp, #LO_pcaddr]
add r10, r3, r10
ldr r3, [fp, #LO_last_count]
str r2, [fp, #LO_pcaddr]
add r10, r3, r10
- str r10, [fp, #LO_cycle] /* PCSX cycles */
+ str r10, [fp, #LO_cycle] /* PCSX cycles */
+ add r2, fp, #(LO_psxRegs + 34*4) /* CP0 */
bl psxException
/* note: psxException might do recursive recompiler call from it's HLE code,
bl psxException
/* note: psxException might do recursive recompiler call from it's HLE code,