mirror of https://github.com/PCSX2/pcsx2.git
Enable the SIO_INLINE_IRQS define, to free some load from the IOP event handler.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2586 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
76194c82dc
commit
9d2699529a
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue