aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai
diff options
context:
space:
mode:
authornotaz2012-01-09 23:45:48 +0200
committernotaz2012-01-09 23:45:48 +0200
commit3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5 (patch)
tree03b4cfc15389afa93467487f54d6635e376a1238 /plugins/gpu_unai
parent7841712d55378f557c1f08ac3445f3b3d66c7691 (diff)
downloadpcsx_rearmed-3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5.tar.gz
pcsx_rearmed-3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5.tar.bz2
pcsx_rearmed-3609c474ee3cec2e06fa5d2c1578dd9de1d3f7a5.zip
gpu_unai: fix build on older toolchains
Diffstat (limited to 'plugins/gpu_unai')
-rw-r--r--plugins/gpu_unai/gpu_arm.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gpu_unai/gpu_arm.s b/plugins/gpu_unai/gpu_arm.s
index a2fa174..8fa44a7 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}