X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F242.c;h=9636f0a075dcc5dc44a77e0ceee37834d2d2755b;hb=5bd16b94320afa9dfba4985f5d69c2d84bae4c33;hp=3b4dced333cb9da1d040178509d2a3070f2652e4;hpb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;p=fceu.git diff --git a/mappers/242.c b/mappers/242.c index 3b4dced..9636f0a 100644 --- a/mappers/242.c +++ b/mappers/242.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 @@ -24,13 +24,10 @@ DECLFW(Mapper242_write) { ROM_BANK32((A>>3)&0xF); - X6502_Rebase(); - switch(V&3) + switch((A>>1)&1) { case 0:MIRROR_SET(0);break; case 1:MIRROR_SET(1);break; - case 2:onemir(0);break; - case 3:onemir(1);break; } }