fix for load-state-after-load crash
[picodrive.git] / Pico / Draw.c
index acdd15d..6d64cd6 100644 (file)
@@ -1138,6 +1138,7 @@ static void BackFill(int reg7, int sh)
 \r
 unsigned short HighPal[0x100];\r
 \r
+#ifndef _ASM_DRAW_C\r
 void PicoDoHighPal555(int sh)\r
 {\r
   unsigned short *pal=HighPal;\r
@@ -1169,7 +1170,6 @@ void PicoDoHighPal555(int sh)
   }\r
 }\r
 \r
-#ifndef _ASM_DRAW_C\r
 static void FinalizeLineBGR444(int sh)\r
 {\r
   unsigned short *pd=DrawLineDest;\r