mirror of https://github.com/PCSX2/pcsx2.git
Remove use of integer constants for iop events that I missed in the
previous commit (thank you @turtleli, I was mentally filtering this line of code). Fixes #1618
This commit is contained in:
parent
733fd79f46
commit
a415d59e2f
|
@ -180,7 +180,8 @@ static __fi void _psxTestInterrupts()
|
|||
// The following ints are rarely called. Encasing them in a conditional
|
||||
// as follows helps speed up most games.
|
||||
|
||||
if( psxRegs.interrupt & ( (1ul<<5) | (3ul<<11) | (3ul<<20) | (3ul<<17) ) )
|
||||
if( psxRegs.interrupt & ((1 << IopEvt_Cdvd) | (1 << IopEvt_Dma11) | (1 << IopEvt_Dma12)
|
||||
| (1 << IopEvt_Cdrom) | (1 << IopEvt_CdromRead) | (1 << IopEvt_DEV9) | (1 << IopEvt_USB)))
|
||||
{
|
||||
IopTestEvent(IopEvt_Cdvd, cdvdActionInterrupt);
|
||||
IopTestEvent(IopEvt_Dma11, psxDMA11Interrupt); // SIO2
|
||||
|
|
Loading…
Reference in New Issue