From 874d6d49202209a35d8f74759072e1c0929633e7 Mon Sep 17 00:00:00 2001 From: awakening Date: Tue, 23 Dec 2025 02:26:39 +0700 Subject: [PATCH] fix: actually return breakpoint program counter --- iop/debug/iopdebug/src/iop_dbg_low.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iop/debug/iopdebug/src/iop_dbg_low.S b/iop/debug/iopdebug/src/iop_dbg_low.S index bad5b878f85..0bf14690f2d 100644 --- a/iop/debug/iopdebug/src/iop_dbg_low.S +++ b/iop/debug/iopdebug/src/iop_dbg_low.S @@ -34,7 +34,7 @@ iop_dbg_get_dcic: .global iop_dbg_get_bpc .ent iop_dbg_get_bpc iop_dbg_get_bpc: - mtc0 $v0, IOP_COP0_BPC + mfc0 $v0, IOP_COP0_BPC nop jr $ra nop