mmc3: Make some variables static
This commit is contained in:
@@ -28,20 +28,17 @@
|
|||||||
#include "mmc3.h"
|
#include "mmc3.h"
|
||||||
|
|
||||||
uint8 MMC3_cmd;
|
uint8 MMC3_cmd;
|
||||||
uint8 *WRAM;
|
static uint8 *WRAM;
|
||||||
uint32 WRAMSIZE;
|
static uint32 WRAMSIZE;
|
||||||
uint8 *CHRRAM;
|
static uint8 *CHRRAM;
|
||||||
uint32 CHRRAMSIZE;
|
static uint32 CHRRAMSIZE;
|
||||||
uint8 DRegBuf[8];
|
uint8 DRegBuf[8];
|
||||||
uint8 EXPREGS[8]; /* For bootleg games, mostly. */
|
uint8 EXPREGS[8]; /* For bootleg games, mostly. */
|
||||||
uint8 A000B, A001B;
|
uint8 A000B, A001B;
|
||||||
uint8 mmc3opts = 0;
|
uint8 mmc3opts = 0;
|
||||||
|
|
||||||
#undef IRQCount
|
static uint8 IRQCount, IRQLatch, IRQa;
|
||||||
#undef IRQLatch
|
static uint8 IRQReload;
|
||||||
#undef IRQa
|
|
||||||
uint8 IRQCount, IRQLatch, IRQa;
|
|
||||||
uint8 IRQReload;
|
|
||||||
|
|
||||||
static SFORMAT MMC3_StateRegs[] =
|
static SFORMAT MMC3_StateRegs[] =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,12 +8,6 @@ extern uint8 A001B;
|
|||||||
extern uint8 EXPREGS[8];
|
extern uint8 EXPREGS[8];
|
||||||
extern uint8 DRegBuf[8];
|
extern uint8 DRegBuf[8];
|
||||||
|
|
||||||
#undef IRQCount
|
|
||||||
#undef IRQLatch
|
|
||||||
#undef IRQa
|
|
||||||
extern uint8 IRQCount, IRQLatch, IRQa;
|
|
||||||
extern uint8 IRQReload;
|
|
||||||
|
|
||||||
extern void (*pwrap)(uint32 A, uint8 V);
|
extern void (*pwrap)(uint32 A, uint8 V);
|
||||||
extern void (*cwrap)(uint32 A, uint8 V);
|
extern void (*cwrap)(uint32 A, uint8 V);
|
||||||
extern void (*mwrap)(uint8 V);
|
extern void (*mwrap)(uint8 V);
|
||||||
|
|||||||
Reference in New Issue
Block a user