mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
vdp, add handling of external buffers for fast renderer
This commit is contained in:
parent
7e382f5403
commit
207e5ba0ee
3 changed files with 17 additions and 6 deletions
10
pico/draw2.c
10
pico/draw2.c
|
@ -692,7 +692,15 @@ PICO_INTERNAL void PicoFrameFull()
|
|||
pprof_end(draw);
|
||||
}
|
||||
|
||||
void PicoDraw2SetOutBuf(void *dest)
|
||||
{
|
||||
if (dest)
|
||||
Pico.est.Draw2FB = dest;
|
||||
else
|
||||
Pico.est.Draw2FB = PicoDraw2FB_;
|
||||
}
|
||||
|
||||
void PicoDraw2Init(void)
|
||||
{
|
||||
Pico.est.Draw2FB = PicoDraw2FB_;
|
||||
PicoDraw2SetOutBuf(NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue