X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F80.c;fp=mappers%2F80.c;h=d569fa018a3b7205ce81eef2f831af1dc5bc8cf5;hp=1e7982e878cc331c38993eba945d95ce2ac98bc3;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hpb=eec2623f6183dd0f9494b99065a16bf90f2a1ccf diff --git a/mappers/80.c b/mappers/80.c index 1e7982e..d569fa0 100644 --- a/mappers/80.c +++ b/mappers/80.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" @@ -24,7 +24,7 @@ static uint32 lastA; static int isfu; static uint8 CCache[8]; -static void FP_FASTAPASS(1) Fudou_PPU(uint32 A) +static void Fudou_PPU(uint32 A) { static int last=-1; static uint8 z; @@ -87,7 +87,8 @@ static void booga(int version) void Mapper80_init(void) { - SetWriteHandler(0x4020,0x7fff,Mapper80_write); + SetWriteHandler(0x4020,0x7eff,Mapper80_write);// 7f00-7fff battery backed ram inside mapper chip, + // controlled by 7ef8 register, A8 - enable, FF - disable (?) MapStateRestore=booga; isfu=0; }