merge mappers from FCEU-mm
[fceu.git] / boards / 185.c
index b865a8f..7ea86bb 100644 (file)
@@ -15,7 +15,7 @@
  *\r
  * You should have received a copy of the GNU General Public License\r
  * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
  *\r
  */\r
 \r
@@ -88,12 +88,12 @@ static void MRestore(int version)
 \r
 void Mapper185_Init(CartInfo *info)\r
 {\r
-  int x;\r
   Sync=Sync185;\r
   info->Power=MPower;\r
   info->Close=MClose;\r
   GameStateRestore=MRestore;\r
   DummyCHR=(uint8*)FCEU_gmalloc(8192);\r
+  int x;\r
   for(x=0;x<8192;x++)\r
      DummyCHR[x]=0xff;\r
   SetupCartCHRMapping(0x10,DummyCHR,8192,0);\r
@@ -102,12 +102,12 @@ void Mapper185_Init(CartInfo *info)
 \r
 void Mapper181_Init(CartInfo *info)\r
 {\r
-  int x;\r
   Sync=Sync181;\r
   info->Power=MPower;\r
   info->Close=MClose;\r
   GameStateRestore=MRestore;\r
   DummyCHR=(uint8*)FCEU_gmalloc(8192);\r
+  int x;\r
   for(x=0;x<8192;x++)\r
      DummyCHR[x]=0xff;\r
   SetupCartCHRMapping(0x10,DummyCHR,8192,0);\r