X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fdraw.c;h=6670ba3be0b431ffdcd90f4a3e42e53bea871f7d;hb=f6c49d38cbb965c502ca2af66d76e92f95acda7c;hp=e474168cf0d416240a3fa1f8c4f5ed736fefad4f;hpb=e05b81fc5b3f640496795ced5d893ece4cc51c2d;p=picodrive.git diff --git a/pico/draw.c b/pico/draw.c index e474168..6670ba3 100644 --- a/pico/draw.c +++ b/pico/draw.c @@ -1485,6 +1485,8 @@ void PicoDrawSync(int to, int blank_last_line) int sh = (Pico.video.reg[0xC] & 8) >> 3; // shadow/hilight? int bgc = Pico.video.reg[7]; + pprof_start(draw); + if (rendlines != 240) offs = 8; @@ -1516,6 +1518,8 @@ void PicoDrawSync(int to, int blank_last_line) line++; } DrawScanline = line; + + pprof_end(draw); } void PicoDrawSetColorFormat(int which)