fixed some portability issues
[picodrive.git] / Pico / Draw.c
index 989d9bd..6f60a03 100644 (file)
@@ -610,8 +610,8 @@ static void DrawTilesFromCacheShPrep(void)
   {\r
     // as some layer has covered whole line with hi priority tiles,\r
     // we can process whole line and then act as if sh/hi mode was off.\r
-    rendstatus|=0x80;\r
     int c = 320/4, *zb = (int *)(HighCol+8);\r
+    rendstatus|=0x80;\r
     while (c--)\r
     {\r
       int tmp = *zb;\r