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 mapper code from FCEUX
[fceu.git]
/
mappers
/
8.c
diff --git
a/mappers/8.c
b/mappers/8.c
index
1a68bf8
..
a8f9cb8
100644
(file)
--- a/
mappers/8.c
+++ b/
mappers/8.c
@@
-1,8
+1,7
@@
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
- * Copyright (C) 1998 BERO
- * Copyright (C) 2002 Ben Parnell
+ * Copyright (C) 2002 Xodnizel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-16,15
+15,12
@@
*
* 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
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
*/
*/
-
#include "mapinc.h"
#include "mapinc.h"
-
-
-DECLFW(Mapper8_write)
+static DECLFW(Mapper8_write)
{
ROM_BANK16(0x8000,V>>3);
VROM_BANK8(V&7);
{
ROM_BANK16(0x8000,V>>3);
VROM_BANK8(V&7);
@@
-32,7
+28,7
@@
DECLFW(Mapper8_write)
void Mapper8_init(void)
{
void Mapper8_init(void)
{
- ROM_BANK32(0);
+
ROM_BANK32(0);
SetWriteHandler(0x8000,0xFFFF,Mapper8_write);
}
SetWriteHandler(0x8000,0xFFFF,Mapper8_write);
}