From 3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 9 Jan 2012 23:45:48 +0200 Subject: [PATCH] gpu_unai: fix build on older toolchains --- plugins/gpu_unai/gpu_arm.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gpu_unai/gpu_arm.s b/plugins/gpu_unai/gpu_arm.s index a2fa1741..8fa44a7a 100644 --- a/plugins/gpu_unai/gpu_arm.s +++ b/plugins/gpu_unai/gpu_arm.s @@ -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} -- 2.39.5