VIF: Modification to illegal IRQ's on NOP's Fixes #162 . Some games like Looney Tunes Back In Action use the lower 16 bits for special codes, so we only check the command info area (not the command itself of course, that would be silly).

This commit is contained in:
refraction 2014-07-24 18:21:17 +01:00
parent 8a43789db5
commit fb5b7a34e3
1 changed files with 4 additions and 1 deletions

View File

@ -446,7 +446,10 @@ vifOp(vifCode_Nop) {
//If the top bit was set to interrupt, we don't want it to take commands from a bad code if it's interpreted as a nop by us.
//Onimusha - Blade Warriors
if ((vifXRegs.code & 0x80000000) && (vifXRegs.code & 0xFFFFF) != 0) GetVifX.irq = 0;
if ((vifXRegs.code & 0x80000000) && (vifXRegs.code & 0xFF0000) != 0)
{
GetVifX.irq = 0;
}
if (GetVifX.vifpacketsize > 1)
{