gpu_unai: fix build on older toolchains
authornotaz <notasas@gmail.com>
Mon, 9 Jan 2012 21:45:48 +0000 (23:45 +0200)
committernotaz <notasas@gmail.com>
Mon, 9 Jan 2012 21:45:48 +0000 (23:45 +0200)
plugins/gpu_unai/gpu_arm.s

index a2fa174..8fa44a7 100644 (file)
@@ -45,9 +45,9 @@ draw_spr16_full:
     do_4_pixels r4, 16, 8
     do_4_pixels r5, 0,  16
     do_4_pixels r5, 16, 24
-    subs    r3, #1
-    add     r0, #2048
-    add     r1, #2048
+    subs    r3, r3, #1
+    add     r0, r0, #2048
+    add     r1, r1, #2048
     bgt     0b
 
     ldmfd   sp!, {r4-r8,pc}