From a415d59e2f9e36c92c218073709d540c03a57a0e Mon Sep 17 00:00:00 2001 From: Pseudonym Date: Thu, 13 Oct 2016 16:30:05 +0100 Subject: [PATCH] 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 --- pcsx2/R3000A.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/R3000A.cpp b/pcsx2/R3000A.cpp index 01d04b4430..b45ad18af7 100644 --- a/pcsx2/R3000A.cpp +++ b/pcsx2/R3000A.cpp @@ -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