mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Fix out by 1 while calcuating leading zeros
This commit is contained in:
parent
832ad13e12
commit
6ebe08e528
|
@ -64,6 +64,8 @@ same_modification:
|
|||
lsrs r7, r7, #1
|
||||
bne 1b
|
||||
|
||||
sub r3, r3, #1
|
||||
|
||||
mov r5, #0 @ current index we're reading from
|
||||
ldr r8, =agb_rs__buffer_size @ the number of steps left
|
||||
ldr r8, [r8]
|
||||
|
|
Loading…
Reference in a new issue