diff --git a/pcsx2/R3000A.cpp b/pcsx2/R3000A.cpp index 120a4a99a0..1253e59b74 100644 --- a/pcsx2/R3000A.cpp +++ b/pcsx2/R3000A.cpp @@ -222,7 +222,9 @@ static __forceinline void _psxTestInterrupts() { IopTestEvent(IopEvt_SIF0, sif0Interrupt); // SIF0 IopTestEvent(IopEvt_SIF1, sif1Interrupt); // SIF1 +#ifndef SIO_INLINE_IRQS IopTestEvent(IopEvt_SIO, sioInterrupt); +#endif IopTestEvent(IopEvt_CdvdRead, cdvdReadInterrupt); #if IOP_ENABLE_SIF_HACK diff --git a/pcsx2/Sio.cpp b/pcsx2/Sio.cpp index 6da4cfef76..abfc069875 100644 --- a/pcsx2/Sio.cpp +++ b/pcsx2/Sio.cpp @@ -33,7 +33,7 @@ static int m_PostSavestateCards[2] = { 0, 0 }; #ifdef SIO_INLINE_IRQS #define SIO_INT() sioInterrupt() -#define SIO_FORCEINLINE +#define SIO_FORCEINLINE __forceinline #else __forceinline void SIO_INT() { diff --git a/pcsx2/Sio.h b/pcsx2/Sio.h index 9d0093cc50..b8793aa113 100644 --- a/pcsx2/Sio.h +++ b/pcsx2/Sio.h @@ -15,6 +15,10 @@ #pragma once +// Let's enable this to free the IOP event handler of some considerable load. +// Games are highly unlikely to need timed IRQ's for PAD and MemoryCard handling anyway (rama). +#define SIO_INLINE_IRQS + struct _sio { u16 StatReg;