More FIFO work. This is an Experimental commit, Fixed "Monopoly Wii" ("FIFOs linked but out of sync" problem in this game) Re-sync the FIFO again when this is in immediate mode. Copy CP register values to PI register. Now this games is booting and ingame :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6682 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8ccdba7273
commit
24eafcb342
|
@ -461,6 +461,12 @@ void Write16(const u16 _Value, const u32 _Address)
|
|||
fifo.bFF_HiWatermarkInt = tmpCtrl.FifoOverflowIntEnable;
|
||||
fifo.bFF_LoWatermarkInt = tmpCtrl.FifoUnderflowIntEnable;
|
||||
|
||||
if(tmpCtrl.GPReadEnable && tmpCtrl.GPLinkEnable)
|
||||
{
|
||||
*(g_VideoInitialize.Fifo_CPUWritePointer) = fifo.CPWritePointer;
|
||||
*(g_VideoInitialize.Fifo_CPUBase) = fifo.CPBase;
|
||||
*(g_VideoInitialize.Fifo_CPUEnd) = fifo.CPEnd;
|
||||
}
|
||||
// If overflown happens process the fifo to LoWatemark
|
||||
if (bProcessFifoToLoWatemark)
|
||||
ProcessFifoToLoWatemark();
|
||||
|
|
Loading…
Reference in New Issue