X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F8.c;h=53c91a289318f1d79e3232fa3a18d49b2921541e;hp=46a7d001dd5edbc9bcb6c24e0eb9476470885b22;hb=d97315ac0bca825d2d50a44453bc5652946e2c67;hpb=890e37ba2b8ea1c7593dc05926d7431e3bd00bfb diff --git a/mappers/8.c b/mappers/8.c index 46a7d00..53c91a2 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 @@ -19,21 +18,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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); }