* this is highly specialized, be careful if changing related C code!\r
*/\r
\r
-.include "port_config.s"\r
-\r
.extern Pico\r
.extern PicoOpt\r
.extern HighCol\r
\r
.fl_no32colRGB555:\r
\r
-.if UNALIGNED_DRAWLINEDEST\r
+#ifdef UNALIGNED_DRAWLINEDEST\r
@ this is basically for Gizmondo, which has unaligned odd lines in the framebuffer\r
tst r0, #2\r
bne .fl_RGB555u\r
-.endif\r
+#endif\r
\r
.fl_loopRGB555:\r
ldr r12, [r1], #4\r
mov r9, #0x3900 @ f800 07e0 001f | e000 0780 001c | 3800 01e0 0007\r
orr r9, r9, #0x00e7\r
\r
-.if UNALIGNED_DRAWLINEDEST\r
+#ifdef UNALIGNED_DRAWLINEDEST\r
tst r0, #2\r
bne .fl_32scale_RGB555u\r
-.endif\r
+#endif\r
\r
.fl_loop32scale_RGB555:\r
ldr r12, [r1], #4\r
ldmfd sp!, {r4-r9,lr}\r
bx lr\r
\r
-.if UNALIGNED_DRAWLINEDEST\r
+#ifdef UNALIGNED_DRAWLINEDEST\r
@ unaligned versions of loops\r
@ warning: starts drawing 2bytes before dst\r
\r
ldmfd sp!, {r4-r9,lr}\r
bx lr\r
\r
-.endif @ UNALIGNED_DRAWLINEDEST\r
+#endif /* UNALIGNED_DRAWLINEDEST */\r
\r
\r
@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r