mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
8a43789db5
commit
fb5b7a34e3
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue