mirror of https://github.com/PCSX2/pcsx2.git
PGIF: Fix Wunused-variable warnings.
This commit is contained in:
parent
855b46edee
commit
ac91a48182
|
@ -120,7 +120,7 @@ u32 pgif_gp1_buffer[PGIF_CMD_RB_SIZE] = {0}; //Ring buffer data.
|
||||||
#define PGIF_DAT_RB_SIZE 0x20000
|
#define PGIF_DAT_RB_SIZE 0x20000
|
||||||
struct ringBuf_t rb_gp0; //Ring buffer control variables.
|
struct ringBuf_t rb_gp0; //Ring buffer control variables.
|
||||||
u32 pgif_gp0_buffer[PGIF_DAT_RB_SIZE] = {0}; //Ring buffer data.
|
u32 pgif_gp0_buffer[PGIF_DAT_RB_SIZE] = {0}; //Ring buffer data.
|
||||||
|
dma_t dma;
|
||||||
|
|
||||||
|
|
||||||
//TODO: Make this be called by IopHw.cpp / psxHwReset()... but maybe it should be called by the EE reset func,
|
//TODO: Make this be called by IopHw.cpp / psxHwReset()... but maybe it should be called by the EE reset func,
|
||||||
|
|
|
@ -120,7 +120,7 @@ struct PGPUregisters
|
||||||
static PGPUregisters& pgpu = (PGPUregisters&)eeHw[0xf300];
|
static PGPUregisters& pgpu = (PGPUregisters&)eeHw[0xf300];
|
||||||
|
|
||||||
//Internal dma flags:
|
//Internal dma flags:
|
||||||
static struct dma_t
|
struct dma_t
|
||||||
{
|
{
|
||||||
struct dmaState_t
|
struct dmaState_t
|
||||||
{
|
{
|
||||||
|
@ -143,7 +143,7 @@ static struct dma_t
|
||||||
u32 current_word; //current word number in Normal DMA
|
u32 current_word; //current word number in Normal DMA
|
||||||
u32 address;
|
u32 address;
|
||||||
} normal;
|
} normal;
|
||||||
} dma;
|
};
|
||||||
|
|
||||||
union tCHCR_DMA
|
union tCHCR_DMA
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue