X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F246.c;h=4ae017ea2fc1bd152ad7e8afd17c3c12870ecdcc;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hp=d36b2771d81e8fd4c3db2e91faff58b48e8419ae;hpb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;p=fceu.git diff --git a/mappers/246.c b/mappers/246.c index d36b277..4ae017e 100644 --- a/mappers/246.c +++ b/mappers/246.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * 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 @@ -15,7 +15,7 @@ * * 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" @@ -25,14 +25,10 @@ DECLFW(Mapper246_write) { switch(A&0xF007) { - case 0x6000:ROM_BANK8(0x8000,V); - X6502_Rebase();break; - case 0x6001:ROM_BANK8(0xA000,V); - X6502_Rebase();break; - case 0x6002:ROM_BANK8(0xC000,V); - X6502_Rebase();break; - case 0x6003:ROM_BANK8(0xE000,V); - X6502_Rebase();break; + case 0x6000:ROM_BANK8(0x8000,V);break; + case 0x6001:ROM_BANK8(0xA000,V);break; + case 0x6002:ROM_BANK8(0xC000,V);break; + case 0x6003:ROM_BANK8(0xE000,V);break; case 0x6004:VROM_BANK2(0x0000,V);break; case 0x6005:VROM_BANK2(0x0800,V);break; case 0x6006:VROM_BANK2(0x1000,V);break;