IPU: Remove useless define/includes

This commit is contained in:
Christian Kenny 2021-03-10 18:48:00 -05:00 committed by refractionpcsx2
parent 7d875076e2
commit 693de2a9dd
3 changed files with 1 additions and 16 deletions

View File

@ -21,9 +21,6 @@
#include "yuv2rgb.h"
#include "mpeg2lib/Mpeg.h"
#include "Vif.h"
#include "Gif.h"
#include "Vif_Dma.h"
#include <limits.h>
#include "AppConfig.h"

View File

@ -23,8 +23,6 @@
#define IPU_INT_TO( cycles ) if(!(cpuRegs.interrupt & (1<<4))) CPU_INT( DMAC_TO_IPU, cycles )
#define IPU_INT_FROM( cycles ) CPU_INT( DMAC_FROM_IPU, cycles )
#define IPU_FORCEINLINE __fi
//
// Bitfield Structures
//
@ -299,7 +297,6 @@ extern void IPUCMD_WRITE(u32 val);
extern void ipuSoftReset();
extern void IPUProcessInterrupt();
extern u8 getBits128(u8 *address, bool advance);
extern u8 getBits64(u8 *address, bool advance);
extern u8 getBits32(u8 *address, bool advance);
extern u8 getBits16(u8 *address, bool advance);

View File

@ -19,10 +19,6 @@
#include "IPU/IPUdma.h"
#include "mpeg2lib/Mpeg.h"
#include "Vif.h"
#include "Gif.h"
#include "Vif_Dma.h"
static IPUStatus IPU1Status;
static tIPU_DMA g_nDMATransfer;
@ -269,9 +265,6 @@ __fi void dmaIPU0() // fromIPU
// but because our IPU is too quick, it messes up the sync between the DMA and IPU.
// So this will do until (if) we sort the timing out of IPU, shouldn't cause any problems for games for now.
IPU_INT_FROM( 160 );
}
__fi void dmaIPU1() // toIPU
@ -315,8 +308,6 @@ __fi void dmaIPU1() // toIPU
}
}
extern void GIFdma();
void ipu0Interrupt()
{
IPU_LOG("ipu0Interrupt: %x", cpuRegs.cycle);
@ -369,7 +360,7 @@ void ipu0Interrupt()
DMA_LOG("IPU0 DMA End");
}
IPU_FORCEINLINE void ipu1Interrupt()
__fi void ipu1Interrupt()
{
IPU_LOG("ipu1Interrupt %x:", cpuRegs.cycle);