X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F33.c;h=13246635e0e8df5e7b475b0436a9676b3b6753f0;hp=f3362c01f7b678e1480481b0da755c8538dfe32f;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hpb=eec2623f6183dd0f9494b99065a16bf90f2a1ccf diff --git a/mappers/33.c b/mappers/33.c index f3362c0..1324663 100644 --- a/mappers/33.c +++ b/mappers/33.c @@ -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" @@ -37,6 +37,7 @@ static DECLFW(Mapper33_write) case 0x8001:ROM_BANK8(0xA000,V); break; case 0x8002:VROM_BANK2(0x0000,V);break; case 0x8003:VROM_BANK2(0x0800,V);break; + case 0xe000:MIRROR_SET((V>>6)&1);break; } } @@ -73,7 +74,7 @@ void Mapper33_init(void) void Mapper48_init(void) { - SetWriteHandler(0x8000,0xffff,Mapper33_write); + SetWriteHandler(0x8000,0xbfff,Mapper33_write); SetWriteHandler(0xc000,0xffff,Mapper48_HiWrite); GameHBIRQHook=heho; is48=1;