PGIF: Fix Wunused-variable warnings.

This commit is contained in:
lightningterror 2021-10-26 20:02:45 +02:00
parent 855b46edee
commit ac91a48182
2 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ u32 pgif_gp1_buffer[PGIF_CMD_RB_SIZE] = {0}; //Ring buffer data.
#define PGIF_DAT_RB_SIZE 0x20000
struct ringBuf_t rb_gp0; //Ring buffer control variables.
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,

View File

@ -120,7 +120,7 @@ struct PGPUregisters
static PGPUregisters& pgpu = (PGPUregisters&)eeHw[0xf300];
//Internal dma flags:
static struct dma_t
struct dma_t
{
struct dmaState_t
{
@ -143,7 +143,7 @@ static struct dma_t
u32 current_word; //current word number in Normal DMA
u32 address;
} normal;
} dma;
};
union tCHCR_DMA
{