notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a004140
)
psxbios: don't overwrite ra
author
notaz
<notasas@gmail.com>
Tue, 5 Sep 2023 19:03:32 +0000
(22:03 +0300)
committer
notaz
<notasas@gmail.com>
Tue, 5 Sep 2023 19:03:32 +0000
(22:03 +0300)
libpcsxcore/psxbios.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/psxbios.c
b/libpcsxcore/psxbios.c
index
19e0fe4
..
00b5d76
100644
(file)
--- a/
libpcsxcore/psxbios.c
+++ b/
libpcsxcore/psxbios.c
@@
-3964,8
+3964,8
@@
void psxBiosException() {
int i;
// save the regs
- // $at, $v0, $v1 already saved by the mips code at A_EXCEPTION
- for (i = 4; i < 3
2
; i++) {
+ // $at, $v0, $v1
, $ra
already saved by the mips code at A_EXCEPTION
+ for (i = 4; i < 3
1
; i++) {
if (i == 26) // $k0
continue;
tcb->reg[i] = SWAP32(psxRegs.GPR.r[i]);