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:
Pseudonym 2016-10-13 16:30:05 +01:00
parent 733fd79f46
commit a415d59e2f
1 changed files with 2 additions and 1 deletions

View File

@ -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