draw: fix mistake from 9c9cda8c3

This commit is contained in:
notaz 2013-08-16 02:42:56 +03:00
parent 6b5feebabc
commit be7867d875

View file

@ -1505,15 +1505,9 @@ void PicoDrawSync(int to, int blank_last_line)
for (line = DrawScanline; line < to; line++) for (line = DrawScanline; line < to; line++)
{ {
if (line >= 224) break;
PicoLine(line, offs, sh, bgc); PicoLine(line, offs, sh, bgc);
} }
if (line >= 224) {
DrawScanline = 240;
return;
}
// last line // last line
if (line <= to) if (line <= to)
{ {