correct non thumb-interwork return

This commit is contained in:
Corwin 2023-05-17 23:25:27 +01:00
parent 9f3259d770
commit e1426d8ef7
No known key found for this signature in database

View file

@ -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