notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mappers from FCEU-mm
[fceu.git]
/
boards
/
tengen.c
diff --git
a/boards/tengen.c
b/boards/tengen.c
index
3881622
..
510f909
100644
(file)
--- a/
boards/tengen.c
+++ b/
boards/tengen.c
@@
-15,7
+15,7
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
+ * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
*/
#include "mapinc.h"
*/
#include "mapinc.h"
@@
-36,10
+36,10
@@
static SFORMAT Rambo_StateRegs[]={
{0}
};
{0}
};
-static void (*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 RAMBO1_IRQHook(int a)
+static void
FP_FASTAPASS(1)
RAMBO1_IRQHook(int a)
{
static int smallcount;
if(!IRQmode) return;
{
static int smallcount;
if(!IRQmode) return;
@@
-158,7
+158,7
@@
static void RAMBO1_init(void)
AddExState(Rambo_StateRegs, ~0, 0, 0);
}
AddExState(Rambo_StateRegs, ~0, 0, 0);
}
-static void CHRWrap(unsigned int A, unsigned int V)
+static void
FP_FASTAPASS(2)
CHRWrap(unsigned int A, unsigned int V)
{
setchr1(A,V);
}
{
setchr1(A,V);
}
@@
-173,7
+173,7
@@
void Mapper64_init(void)
static int MirCache[8];
static unsigned int PPUCHRBus;
static int MirCache[8];
static unsigned int PPUCHRBus;
-static void MirWrap(unsigned int A, unsigned int V)
+static void
FP_FASTAPASS(2)
MirWrap(unsigned int A, unsigned int V)
{
MirCache[A>>10]=(V>>7)&1;
if(PPUCHRBus==(A>>10))
{
MirCache[A>>10]=(V>>7)&1;
if(PPUCHRBus==(A>>10))
@@
-181,7
+181,7
@@
static void MirWrap(unsigned int A, unsigned int V)
setchr1(A,V);
}
setchr1(A,V);
}
-static void MirrorFear(uint32 A)
+static void
FP_FASTAPASS(1)
MirrorFear(uint32 A)
{
A&=0x1FFF;
A>>=10;
{
A&=0x1FFF;
A>>=10;
@@
-197,4
+197,3
@@
void Mapper158_init(void)
RAMBO1_init();
}
*/
RAMBO1_init();
}
*/
-