32x, minor fix in arm renderer
authorkub <derkub@gmail.com>
Tue, 21 Sep 2021 19:57:02 +0000 (21:57 +0200)
committerkub <derkub@gmail.com>
Tue, 21 Sep 2021 19:57:02 +0000 (21:57 +0200)
pico/32x/draw_arm.S

index 8d6ee73..e226d2a 100644 (file)
@@ -61,7 +61,7 @@
     ldr     r0, [r1, #OFS_EST_DrawLineDest]
     ldr     r2, [r1, #OFS_EST_DrawLineDestIncr]
     add     r0, r0, r2
-    str     r0, [r1]
+    str     r0, [r1, #OFS_EST_DrawLineDest]
     ldmfd   sp!, {r0-r3}
 .endif
 .endm