notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some more risky timing changes
[picodrive.git]
/
pico
/
draw.c
diff --git
a/pico/draw.c
b/pico/draw.c
index
5e8d86b
..
e2e4fb4
100644
(file)
--- a/
pico/draw.c
+++ b/
pico/draw.c
@@
-1553,13
+1553,14
@@
void PicoDrawSync(int to, int blank_last_line)
\r
pprof_start(draw);
\r
\r
\r
pprof_start(draw);
\r
\r
- if (rendlines != 240)
\r
+ if (rendlines != 240)
{
\r
offs = 8;
\r
offs = 8;
\r
+ if (to > 223)
\r
+ to = 223;
\r
+ }
\r
\r
for (line = Pico.est.DrawScanline; line < to; line++)
\r
\r
for (line = Pico.est.DrawScanline; line < to; line++)
\r
- {
\r
PicoLine(line, offs, sh, bgc);
\r
PicoLine(line, offs, sh, bgc);
\r
- }
\r
\r
// last line
\r
if (line <= to)
\r
\r
// last line
\r
if (line <= to)
\r