mirror of https://github.com/PCSX2/pcsx2.git
Fix for the Gungrave everybody wanted. Was a small programming error in GIF MFIFO, now fixed :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4267 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
1b3d135b18
commit
53ae262649
|
@ -575,11 +575,14 @@ void mfifoGIFtransfer(int qwc)
|
|||
|
||||
if(qwc > 0 )
|
||||
{
|
||||
if ((gifstate & GIF_STATE_EMPTY) && !(cpuRegs.interrupt & (1<<DMAC_MFIFO_GIF)))
|
||||
if ((gifstate & GIF_STATE_EMPTY))
|
||||
{
|
||||
if(gifch.chcr.STR == true)CPU_INT(DMAC_MFIFO_GIF, 4);
|
||||
gifstate &= ~GIF_STATE_EMPTY;
|
||||
if(gifch.chcr.STR == true && !(cpuRegs.interrupt & (1<<DMAC_MFIFO_GIF)))
|
||||
CPU_INT(DMAC_MFIFO_GIF, 4);
|
||||
|
||||
gifstate &= ~GIF_STATE_EMPTY;
|
||||
}
|
||||
|
||||
gifRegs.stat.FQC = 16;
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -141,7 +141,7 @@ void hwDmacIrq(int n)
|
|||
|
||||
void FireMFIFOEmpty()
|
||||
{
|
||||
SPR_LOG("VIF MFIFO Data Empty");
|
||||
SPR_LOG("MFIFO Data Empty");
|
||||
hwDmacIrq(DMAC_MFIFO_EMPTY);
|
||||
|
||||
if (dmacRegs.ctrl.MFD == MFD_VIF1) vif1Regs.stat.FQC = 0;
|
||||
|
|
Loading…
Reference in New Issue