X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F242.c;h=9636f0a075dcc5dc44a77e0ceee37834d2d2755b;hb=5bd16b94320afa9dfba4985f5d69c2d84bae4c33;hp=93f654cc6bafd27c7c9a1feb207540271c65c293;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9;p=fceu.git diff --git a/mappers/242.c b/mappers/242.c index 93f654c..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,12 +24,10 @@ DECLFW(Mapper242_write) { ROM_BANK32((A>>3)&0xF); - 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; } }