X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F77.c;h=06f15cc038cbb94334ac30e19a849641f6ef6e4c;hp=e3c0e52757252a077837d0f71c4764e882e3d75e;hb=d97315ac0bca825d2d50a44453bc5652946e2c67;hpb=890e37ba2b8ea1c7593dc05926d7431e3bd00bfb diff --git a/mappers/77.c b/mappers/77.c index e3c0e52..06f15cc 100644 --- a/mappers/77.c +++ b/mappers/77.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 @@ -27,18 +27,16 @@ static DECLFW(Mapper77_write) mapbyte1[0]=V; ROM_BANK32(V&0x7); VROM_BANK2(0x0000, (V&0xf0)>>4); - X6502_Rebase(); } static void Mapper77_StateRestore(int version) { int x; - - if(version>=72) + + if(version>=7200) { ROM_BANK32(mapbyte1[0]&0x7); VROM_BANK2(0x0000, (mapbyte1[0]&0xf0)>>4); - X6502_Rebase(); } for(x=2;x<8;x++) VRAM_BANK1(x*0x400,x);