notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simple profiler added
[picodrive.git]
/
pico
/
draw.c
diff --git
a/pico/draw.c
b/pico/draw.c
index
e474168
..
6670ba3
100644
(file)
--- 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?
\r
int bgc = Pico.video.reg[7];
\r
\r
int sh = (Pico.video.reg[0xC] & 8) >> 3; // shadow/hilight?
\r
int bgc = Pico.video.reg[7];
\r
\r
+ pprof_start(draw);
\r
+
\r
if (rendlines != 240)
\r
offs = 8;
\r
\r
if (rendlines != 240)
\r
offs = 8;
\r
\r
@@
-1516,6
+1518,8
@@
void PicoDrawSync(int to, int blank_last_line)
line++;
\r
}
\r
DrawScanline = line;
\r
line++;
\r
}
\r
DrawScanline = line;
\r
+
\r
+ pprof_end(draw);
\r
}
\r
\r
void PicoDrawSetColorFormat(int which)
\r
}
\r
\r
void PicoDrawSetColorFormat(int which)
\r