1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-01 02:40:43 +02:00

#368 GBA minor optimization of branch return address

This commit is contained in:
XProger
2022-05-26 07:42:38 +03:00
parent c8209526a8
commit 4ec68f1f89

View File

@@ -176,7 +176,9 @@ flush_asm:
.draw:
// r0 = flags
// r1 = ptr
adr lr, .next_face
tst face, face
adrne lr, .loop_list
adreq lr, .next_ot
tst flags, #FACE_CLIPPED
bne drawPoly
@@ -209,7 +211,9 @@ flush_asm:
// r0 = flags
// r1 = ptr
adr lr, .next_face
tst face, face
adrne lr, .loop_list
adreq lr, .next_ot
// gui
cmp type, #FACE_TYPE_SPRITE
@@ -227,10 +231,6 @@ flush_asm:
str uv, [ptr, #(VERTEX_T + VERTEX_SIZEOF * 1)]
b rasterize_asm
.next_face:
tst face, face
bne .loop_list
.next_ot:
cmp list, OT
bge .loop_ot