From 595881979c712cd0ea288b75d2caa316d104554c Mon Sep 17 00:00:00 2001 From: bbitmaster Date: Sun, 13 Jul 2008 00:06:49 +0000 Subject: [PATCH] Deleted the MapperInit() call from the PowerNES() function. This was added in build 527 and was causing saved state problems in Just Breed, and possibly other issues. (It was causing mappers to get initialized twice) --- src/fceu.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fceu.cpp b/src/fceu.cpp index bb29d084..9a73d151 100644 --- a/src/fceu.cpp +++ b/src/fceu.cpp @@ -628,10 +628,8 @@ void hand(X6502 *X, int type, unsigned int A) } int suppressAddPowerCommand=0; // hack... yeah, I know... -void MapperInit(); void PowerNES(void) { - MapperInit(); if(!suppressAddPowerCommand) FCEUMOV_AddCommand(FCEUNPCMD_POWER);