mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-02-01 04:25:53 +01:00
vdp, fix for loading saved gfx state
This commit is contained in:
parent
c5b2e3f357
commit
348ec9cadc
@ -166,7 +166,6 @@ static int PicoVideoFIFODrain(int level, int cycles, int bgdma)
|
||||
struct PicoVideo *pv = &Pico.video;
|
||||
unsigned ocyc = cycles;
|
||||
int burn = 0;
|
||||
//int osl = fifo_slot;
|
||||
|
||||
// process FIFO entries until low level is reached
|
||||
while (vf->fifo_slot <= vf->fifo_maxslot && cycles < 488 &&
|
||||
@ -1042,7 +1041,7 @@ void PicoVideoLoad(void)
|
||||
|
||||
// convert former dma_xfers (why was this in PicoMisc anyway?)
|
||||
if (Pico.m.dma_xfers) {
|
||||
pv->status = SR_DMA|PVS_FIFORUN;
|
||||
pv->status |= SR_DMA|PVS_FIFORUN;
|
||||
pv->fifo_cnt = Pico.m.dma_xfers * (pv->type == 1 ? 2 : 1);
|
||||
vf->fifo_total = Pico.m.dma_xfers;
|
||||
Pico.m.dma_xfers = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user