lines = 240;\r
}\r
\r
- HighCol = HighColBase;\r
+ HighCol = HighColBase + offs * HighColIncrement;\r
DrawLineDest = (char *)DrawLineDestBase + offs * DrawLineDestIncrement;\r
DrawScanline = 0;\r
skip_next_line = 0;\r
rendstatus_old = -1;\r
}\r
\r
+// note: may be called on the middle of frame\r
void PicoDrawSetOutBuf(void *dest, int increment)\r
{\r
DrawLineDestBase = dest;\r
DrawLineDestIncrement = increment;\r
+ DrawLineDest = DrawLineDestBase + DrawScanline * increment;\r
}\r
\r
void PicoDrawSetInternalBuf(void *dest, int increment)\r
if (dest != NULL) {\r
HighColBase = dest;\r
HighColIncrement = increment;\r
+ HighCol = HighColBase + DrawScanline * increment;\r
}\r
else {\r
HighColBase = DefHighCol;\r