platform gp2x, fix compilation with original toolchain (gcc 4.1)

This commit is contained in:
kub 2023-04-30 22:11:07 +00:00
parent 97232a47c9
commit 110a49ed2a
10 changed files with 59 additions and 53 deletions

View file

@ -144,7 +144,7 @@ vidcpy_8bit:
mov r12, r3, lsl #16 @ h
vidCpy8bit_loop_out:
lsrs r6, lr, #5
movs r6, lr, lsr #5
@ beq vidCpy8bit_loop_end
vidCpy8bit_loop:
subs r6, r6, #1
@ -199,7 +199,7 @@ vidcpy_8bit_rot:
mov r8, #328
vidCpy8bitrot_loop_out:
mov r10, r0
lsrs r9, lr, #2
movs r9, lr, lsr #2
@ beq vidCpy8bitrot_loop_end
vidCpy8bitrot_loop:
mov r6, r1