mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
correct non thumb-interwork return
This commit is contained in:
parent
9f3259d770
commit
e1426d8ef7
|
@ -31,7 +31,9 @@ agb_thumb_func agb_rs__WramVerifyBuf
|
||||||
@ Returns from the function successfully
|
@ Returns from the function successfully
|
||||||
movs r0, #1
|
movs r0, #1
|
||||||
0: @ Jumps to here return the function unsuccessfully, because r0 contains 0 at this point
|
0: @ Jumps to here return the function unsuccessfully, because r0 contains 0 at this point
|
||||||
pop {r4-r5, pc}
|
pop {r4-r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
agb_thumb_end agb_rs__WramVerifyBuf
|
agb_thumb_end agb_rs__WramVerifyBuf
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue