mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: various gfx related bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@856 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
5a68108691
commit
e51e5983fe
6 changed files with 45 additions and 27 deletions
|
@ -1566,10 +1566,12 @@ void PicoDrawSetOutFormat(pdso_t which, int allow_32x)
|
|||
rendstatus_old = -1;
|
||||
}
|
||||
|
||||
// note: may be called on the middle of frame
|
||||
void PicoDrawSetOutBuf(void *dest, int increment)
|
||||
{
|
||||
DrawLineDestBase = dest;
|
||||
DrawLineDestIncrement = increment;
|
||||
DrawLineDest = DrawLineDestBase + DrawScanline * increment;
|
||||
}
|
||||
|
||||
void PicoDrawSetInternalBuf(void *dest, int increment)
|
||||
|
@ -1577,6 +1579,7 @@ void PicoDrawSetInternalBuf(void *dest, int increment)
|
|||
if (dest != NULL) {
|
||||
HighColBase = dest;
|
||||
HighColIncrement = increment;
|
||||
HighCol = HighColBase + DrawScanline * increment;
|
||||
}
|
||||
else {
|
||||
HighColBase = DefHighCol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue