notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use picofe menu, move generic code out of gp2x/
[fceu.git]
/
mappers
/
8.c
diff --git
a/mappers/8.c
b/mappers/8.c
index
1a68bf8
..
53c91a2
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
@@
-19,12
+18,9
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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);
}