mmc3: Make some variables static

This commit is contained in:
negativeExponent
2022-02-12 16:37:04 +08:00
parent 55639a156a
commit 690862829a
2 changed files with 6 additions and 15 deletions

View File

@@ -28,20 +28,17 @@
#include "mmc3.h"
uint8 MMC3_cmd;
uint8 *WRAM;
uint32 WRAMSIZE;
uint8 *CHRRAM;
uint32 CHRRAMSIZE;
static uint8 *WRAM;
static uint32 WRAMSIZE;
static uint8 *CHRRAM;
static uint32 CHRRAMSIZE;
uint8 DRegBuf[8];
uint8 EXPREGS[8]; /* For bootleg games, mostly. */
uint8 A000B, A001B;
uint8 mmc3opts = 0;
#undef IRQCount
#undef IRQLatch
#undef IRQa
uint8 IRQCount, IRQLatch, IRQa;
uint8 IRQReload;
static uint8 IRQCount, IRQLatch, IRQa;
static uint8 IRQReload;
static SFORMAT MMC3_StateRegs[] =
{