X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FDraw.c;h=6f60a03a62ac45ae96ca1b9b0db708ec102a88ed;hb=dca310c413517d278898b967cfe610574310acd8;hp=989d9bdb27b8d5f27715fd9d021c727a324b6e17;hpb=d4ca252d929395352f581b532e9d3726da31d718;p=picodrive.git diff --git a/Pico/Draw.c b/Pico/Draw.c index 989d9bd..6f60a03 100644 --- a/Pico/Draw.c +++ b/Pico/Draw.c @@ -610,8 +610,8 @@ static void DrawTilesFromCacheShPrep(void) { // as some layer has covered whole line with hi priority tiles, // we can process whole line and then act as if sh/hi mode was off. - rendstatus|=0x80; int c = 320/4, *zb = (int *)(HighCol+8); + rendstatus|=0x80; while (c--) { int tmp = *zb;