Skip to content

Commit 8c8b9f2

Browse files
authored
Merge pull request #802 from awaken1ng/iopdebug-bpc-typo
fix: actually return breakpoint program counter
2 parents 81b25fc + 874d6d4 commit 8c8b9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iop/debug/iopdebug/src/iop_dbg_low.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ iop_dbg_get_dcic:
3434
.global iop_dbg_get_bpc
3535
.ent iop_dbg_get_bpc
3636
iop_dbg_get_bpc:
37-
mtc0 $v0, IOP_COP0_BPC
37+
mfc0 $v0, IOP_COP0_BPC
3838
nop
3939
jr $ra
4040
nop

0 commit comments

Comments
 (0)