correctly emulate GX FIFO DMA of 0 words (why would anybody do that?) by properly freaking out
This commit is contained in:
parent
68ffbc5ca7
commit
f72ce94f8d
|
@ -2000,7 +2000,7 @@ void DmaController::doCopy()
|
|||
if(todo == 0) todo = 0x200000; //according to gbatek.. //TODO - this should not work this way for arm7 according to gbatek
|
||||
if(startmode == EDMAMode_MemDisplay) todo = 128; //this is a hack. maybe an alright one though. it should be 4 words at a time. this is a whole scanline
|
||||
if(startmode == EDMAMode_Card) todo *= 0x80;
|
||||
if(startmode == EDMAMode_GXFifo) todo = std::min(wordcount,(u32)112);
|
||||
if(startmode == EDMAMode_GXFifo) todo = std::min(todo,(u32)112);
|
||||
|
||||
//determine how we're going to copy
|
||||
bool bogarted = false;
|
||||
|
|
Loading…
Reference in New Issue