mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
tune flip calls and frame setup
for pandora, mostly
This commit is contained in:
parent
9c9cda8c39
commit
b7d64dbdb7
5 changed files with 15 additions and 13 deletions
10
pico/draw.c
10
pico/draw.c
|
@ -1424,11 +1424,6 @@ PICO_INTERNAL void PicoFrameStart(void)
|
|||
lines = 240;
|
||||
}
|
||||
|
||||
HighCol = HighColBase + offs * HighColIncrement;
|
||||
DrawLineDest = (char *)DrawLineDestBase + offs * DrawLineDestIncrement;
|
||||
DrawScanline = 0;
|
||||
skip_next_line = 0;
|
||||
|
||||
if (rendstatus != rendstatus_old || lines != rendlines) {
|
||||
rendlines = lines;
|
||||
// mode_change() might reset rendstatus_old by calling SetColorFormat
|
||||
|
@ -1437,6 +1432,11 @@ PICO_INTERNAL void PicoFrameStart(void)
|
|||
rendstatus_old = rendstatus;
|
||||
}
|
||||
|
||||
HighCol = HighColBase + offs * HighColIncrement;
|
||||
DrawLineDest = (char *)DrawLineDestBase + offs * DrawLineDestIncrement;
|
||||
DrawScanline = 0;
|
||||
skip_next_line = 0;
|
||||
|
||||
if (PicoOpt & POPT_ALT_RENDERER)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue