X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F246.c;h=8623233c2954920c60ee32de65e62bcadd814adb;hp=d36b2771d81e8fd4c3db2e91faff58b48e8419ae;hb=d97315ac0bca825d2d50a44453bc5652946e2c67;hpb=890e37ba2b8ea1c7593dc05926d7431e3bd00bfb diff --git a/mappers/246.c b/mappers/246.c index d36b277..8623233 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 @@ -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;