X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F8.c;h=a8f9cb8dff268df7c943d914c02a0d6fbb9900fb;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hp=1a68bf81e93eb92cacdb446320cdab76e9c7389d;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9;p=fceu.git diff --git a/mappers/8.c b/mappers/8.c index 1a68bf8..a8f9cb8 100644 --- a/mappers/8.c +++ b/mappers/8.c @@ -1,8 +1,7 @@ /* 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 @@ -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 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - #include "mapinc.h" - - -DECLFW(Mapper8_write) +static DECLFW(Mapper8_write) { ROM_BANK16(0x8000,V>>3); VROM_BANK8(V&7); @@ -32,7 +28,7 @@ DECLFW(Mapper8_write) void Mapper8_init(void) { - ROM_BANK32(0); + ROM_BANK32(0); SetWriteHandler(0x8000,0xFFFF,Mapper8_write); }