This commit is contained in:
CaH4e3 2009-03-22 18:14:44 +00:00
parent cce590ab26
commit 38c4130b4b
6 changed files with 10 additions and 7 deletions

View File

@ -26,6 +26,8 @@
#include "mapinc.h"
#include "mmc3.h"
static uint8 *CHRRAM=NULL; // and here too
static void M199PW(uint32 A, uint8 V)
{
setprg8(A,V);

View File

@ -45,7 +45,8 @@ D6-D0 - Small Page High Address (D6,D5,D4,D3,D2,D1,D0,A11,A10,A9,A8,A7,A6,A5,A4,
static uint8 reg[3];
//static uint8 *CHRRAM=NULL; // already declared in mmc3.h. static != extern
static uint8 *CHRRAM=NULL; // there is no more extern CHRRAM in mmc3.h
// I need chrram here and local static == local
static uint32 CHRRAMSIZE;
static SFORMAT StateRegs[]=

View File

@ -28,12 +28,12 @@
#include "mmc3.h"
uint8 MMC3_cmd;
uint8 *WRAM;
uint8 *CHRRAM;
uint32 CHRRAMSize;
uint8 DRegBuf[8];
uint8 EXPREGS[8]; /* For bootleg games, mostly. */
static uint8 *WRAM;
static uint8 *CHRRAM;
static uint8 A000B,A001B;
#undef IRQCount

View File

@ -1,6 +1,4 @@
extern uint8 MMC3_cmd;
extern uint8 *WRAM;
extern uint8 *CHRRAM;
extern uint8 EXPREGS[8];
extern uint8 DRegBuf[8];

View File

@ -21,7 +21,8 @@
#include "mapinc.h"
#include "mmc3.h"
//static uint8 *CHRRAM; // already declared in mmc3.h. static != extern
static uint8 *CHRRAM; // there is no more extern CHRRAM in mmc3.h
// I need chrram here and local static == local
static uint8 tekker;
static void MSHCW(uint32 A, uint8 V)

View File

@ -21,7 +21,8 @@
#include "mapinc.h"
#include "mmc3.h"
//static uint8 *CHRRAM = NULL; // CHRRAM is already declared in mmc3.h. Besides, static and extern don't really go well together.
static uint8 *CHRRAM = NULL; // there is no more extern CHRRAM in mmc3.h
// I need chrram here and local static == local
static int masko8[8]={63,31,15,1,3,0,0,0};
static void Super24PW(uint32 A, uint8 V)