arm asm sprite rendering: add line accidently deleted in ea431e9
authorkub <derkub@gmail.com>
Mon, 2 Mar 2020 22:48:55 +0000 (23:48 +0100)
committerkub <derkub@gmail.com>
Mon, 2 Mar 2020 22:48:55 +0000 (23:48 +0100)
pico/draw_arm.S

index 860ab0f..8dc660c 100644 (file)
@@ -796,6 +796,7 @@ DrawTilesFromCache:
     bic     r4, r1, #0xfe00\r
     add     r1, r11, r4     @ r1=pdest\r
 \r
+    movs    r7, r6, lsl #16\r
     cmp     r5, r7, lsr #16\r
     beq     .dtfc_samecode  @ if (code==prevcode)\r
 \r