Skip to content

Commit

Permalink
#368 GBA matrix rotation optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
XProger committed Dec 1, 2022
1 parent 329e69f commit b70eade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/gba/asm/matrixRotate.s
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
mul \t, \y, \cos
mla \t, \x, \sin, \t
mul \x, \cos, \x
rsb \y, \y, #0
mla \x, \y, \sin, \x
mul \y, \sin, \y
sub \x, \y
mov \y, \t, asr #FIXED_SHIFT
mov \x, \x, asr #FIXED_SHIFT
.endm
Expand Down

0 comments on commit b70eade

Please sign in to comment.