mirror of https://github.com/PCSX2/pcsx2.git
pgif: Cleanup warnings.
This commit is contained in:
parent
cee077d1d3
commit
86263d05bc
|
@ -234,8 +234,7 @@ void handleGp1Command(u32 cmd)
|
|||
{
|
||||
//Check GP1() command and configure PGIF accordingly.
|
||||
//Commands 0x00 - 0x01 are partially handled in ps1drv, we should just clear fifo.
|
||||
u32 cmdNr = ((cmd >> 24) & 0xFF) & 0x3F;
|
||||
u32 param = 0;
|
||||
const u32 cmdNr = ((cmd >> 24) & 0xFF) & 0x3F;
|
||||
switch (cmdNr)
|
||||
{
|
||||
case 0:
|
||||
|
@ -613,7 +612,7 @@ void drainPgpuDmaNrToGpu()
|
|||
|
||||
void drainPgpuDmaNrToIop()
|
||||
{
|
||||
u32 data;
|
||||
u32 data = 0;
|
||||
if (!dma.state.to_iop_active || rb_gp0.count <= 0)
|
||||
return;
|
||||
|
||||
|
|
|
@ -119,15 +119,6 @@ struct PGPUregisters
|
|||
};
|
||||
static PGPUregisters& pgpu = (PGPUregisters&)eeHw[0xf300];
|
||||
|
||||
static struct Regs_t
|
||||
{
|
||||
struct pgifRegs_t
|
||||
{
|
||||
//PGifIfStat
|
||||
u32 ctrl;
|
||||
} pgif;
|
||||
} hwRegs;
|
||||
|
||||
//Internal dma flags:
|
||||
static struct dma_t
|
||||
{
|
||||
|
@ -260,7 +251,6 @@ struct ringBuf_t
|
|||
#define pgpuDmaTadr HW_DMA2_TADR
|
||||
|
||||
void pgifInit(void);
|
||||
void pgifReset(void);
|
||||
|
||||
extern void psxGPUw(int, u32);
|
||||
extern u32 psxGPUr(int);
|
||||
|
|
Loading…
Reference in New Issue