From: notaz Date: Mon, 9 Jan 2012 21:45:48 +0000 (+0200) Subject: gpu_unai: fix build on older toolchains X-Git-Tag: r14~32 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5;p=pcsx_rearmed.git gpu_unai: fix build on older toolchains --- 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}