X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F8.c;h=a8f9cb8dff268df7c943d914c02a0d6fbb9900fb;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hp=46a7d001dd5edbc9bcb6c24e0eb9476470885b22;hpb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;p=fceu.git diff --git a/mappers/8.c b/mappers/8.c index 46a7d00..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,24 +15,20 @@ * * 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); - X6502_Rebase(); } void Mapper8_init(void) { - ROM_BANK32(0); + ROM_BANK32(0); SetWriteHandler(0x8000,0xFFFF,Mapper8_write); }