notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release r2, update credits
[fceu.git]
/
boards
/
tengen.c
diff --git
a/boards/tengen.c
b/boards/tengen.c
index
a4f33f5
..
510f909
100644
(file)
--- a/
boards/tengen.c
+++ b/
boards/tengen.c
@@
-37,7
+37,7
@@
static SFORMAT Rambo_StateRegs[]={
};
static void FP_FASTAPASS(2) (*setchr1wrap)(unsigned int A, unsigned int V);
};
static void FP_FASTAPASS(2) (*setchr1wrap)(unsigned int A, unsigned int V);
-static int nomirror;
+
//
static int nomirror;
static void FP_FASTAPASS(1) RAMBO1_IRQHook(int a)
{
static void FP_FASTAPASS(1) RAMBO1_IRQHook(int a)
{
@@
-104,7
+104,7
@@
static DECLFW(RAMBO1_write)
switch(A&0xF001)
{
case 0xa000: mir=V&1;
switch(A&0xF001)
{
case 0xa000: mir=V&1;
- if(!nomirror)
+
//
if(!nomirror)
setmirror(mir^1);
break;
case 0x8000: cmd = V;
setmirror(mir^1);
break;
case 0x8000: cmd = V;
@@
-138,7
+138,7
@@
static DECLFW(RAMBO1_write)
static void RAMBO1_Restore(int version)
{
Synco();
static void RAMBO1_Restore(int version)
{
Synco();
- if(!nomirror)
+
//
if(!nomirror)
setmirror(mir^1);
}
setmirror(mir^1);
}
@@
-148,7
+148,7
@@
static void RAMBO1_init(void)
for(x=0;x<11;x++)
DRegs[x]=~0;
cmd=mir=0;
for(x=0;x<11;x++)
DRegs[x]=~0;
cmd=mir=0;
- if(!nomirror)
+
//
if(!nomirror)
setmirror(1);
Synco();
GameHBIRQHook=RAMBO1_hb;
setmirror(1);
Synco();
GameHBIRQHook=RAMBO1_hb;
@@
-166,10
+166,10
@@
static void FP_FASTAPASS(2) CHRWrap(unsigned int A, unsigned int V)
void Mapper64_init(void)
{
setchr1wrap=CHRWrap;
void Mapper64_init(void)
{
setchr1wrap=CHRWrap;
- nomirror=0;
+
//
nomirror=0;
RAMBO1_init();
}
RAMBO1_init();
}
-
+/*
static int MirCache[8];
static unsigned int PPUCHRBus;
static int MirCache[8];
static unsigned int PPUCHRBus;
@@
-196,3
+196,4
@@
void Mapper158_init(void)
nomirror=1;
RAMBO1_init();
}
nomirror=1;
RAMBO1_init();
}
+*/