supporting caanoo, line doublers, refactoring
[picodrive.git] / pico / draw_arm.s
index 82bb603..ae6de76 100644 (file)
@@ -1638,7 +1638,7 @@ vidConvCpyRGB565: @ void *to, void *from, int pixels
     stmfd   sp!, {r4-r9,lr}\r
     mov     r8,     #0x0061\r
     orr     r8, r8, #0x0800\r
-    orr     r8, r8, lsl #16\r
+    orr     r8, r8, r8, lsl #16\r
     vidConvCpyRGB565_local\r
     ldmfd   sp!, {r4-r9,lr}\r
     bx      lr\r
@@ -1663,7 +1663,7 @@ PicoDoHighPal555_nopush:
     mov     r2, #0x40\r
     mov     r8,     #0x0061\r
     orr     r8, r8, #0x0800\r
-    orr     r8, r8, lsl #16\r
+    orr     r8, r8, r8, lsl #16\r
 \r
     vidConvCpyRGB565_local\r
 \r