}
lGPUstatusRet|=GPUSTATUS_INTERLACED;
}
- else lGPUstatusRet&=~GPUSTATUS_INTERLACED;
+ else lGPUstatusRet&=~(GPUSTATUS_INTERLACED|0x80000000);
if (PSXDisplay.PAL)
lGPUstatusRet|=GPUSTATUS_PAL;
uint32_t dmaMem;
unsigned char * baseAddrB;
short count;unsigned int DMACommandCounter = 0;
+ long dmaWords = 0;
GPUIsBusy;
if(CheckForEndlessLoop(addr)) break;
count = baseAddrB[addr+3];
+ dmaWords += 1 + count;
dmaMem=addr+4;
GPUIsIdle;
- return 0;
+ return dmaWords;
}
////////////////////////////////////////////////////////////////////////