mirror of https://github.com/PCSX2/pcsx2.git
GIF/1.0.0: Fix some condition bitching from my sloppy coding in r5277 and integrated the change in to the 1.0.0 branch as it will stop the emulator complaining about double interrupts.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5325 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
040e6c509b
commit
7b8d99a69f
|
@ -58,7 +58,7 @@ __fi void gifInterrupt()
|
||||||
if(vif1Regs.stat.VGW)
|
if(vif1Regs.stat.VGW)
|
||||||
{
|
{
|
||||||
//Check if VIF is in a cycle or is currently "idle" waiting for GIF to come back.
|
//Check if VIF is in a cycle or is currently "idle" waiting for GIF to come back.
|
||||||
if(!cpuRegs.interrupt & (1<<DMAC_VIF1))
|
if(!(cpuRegs.interrupt & (1<<DMAC_VIF1)))
|
||||||
CPU_INT(DMAC_VIF1, 1);
|
CPU_INT(DMAC_VIF1, 1);
|
||||||
|
|
||||||
CPU_INT(DMAC_GIF, 16);
|
CPU_INT(DMAC_GIF, 16);
|
||||||
|
|
Loading…
Reference in New Issue