X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fdraw.c;h=a03d8873a8734a5143af2ce87287f37b6d0fb235;hb=01685eefb022ab2d13cc154a43807e9d20c77c03;hp=ede11f5db68efd78017c436eb85769d7e4724e64;hpb=b7d64dbdb78425b501093dfb137072459b5b3f0f;p=picodrive.git diff --git a/pico/draw.c b/pico/draw.c index ede11f5..a03d887 100644 --- a/pico/draw.c +++ b/pico/draw.c @@ -1457,6 +1457,9 @@ static void DrawBlankedLine(int line, int offs, int sh, int bgc) if (PicoScanEnd != NULL) PicoScanEnd(line + offs); + + HighCol += HighColIncrement; + DrawLineDest = (char *)DrawLineDest + DrawLineDestIncrement; } static void PicoLine(int line, int offs, int sh, int bgc) @@ -1505,15 +1508,9 @@ void PicoDrawSync(int to, int blank_last_line) for (line = DrawScanline; line < to; line++) { - if (line >= 224) break; PicoLine(line, offs, sh, bgc); } - if (line >= 224) { - DrawScanline = 240; - return; - } - // last line if (line <= to) {