merge mappers from FCEU-mm
[fceu.git] / boards / __dummy_mapper.c
index f56736d..eaa40f9 100644 (file)
@@ -1,7 +1,7 @@
 /* FCE Ultra - NES/Famicom Emulator\r
  *\r
  * Copyright notice for this file:\r
- *  Copyright (C) 2009 CaH4e3\r
+ *  Copyright (C) 2012 CaH4e3\r
  *\r
  * This program is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
  *\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
 #include "mapinc.h"\r
 \r
 static uint8 reg[8];\r
+static uint8 IRQa;\r
+static int16 IRQCount, IRQLatch;\r
 /*\r
 static uint8 *WRAM=NULL;\r
 static uint32 WRAMSIZE;\r
@@ -31,6 +33,9 @@ static uint32 CHRRAMSIZE;
 static SFORMAT StateRegs[]=\r
 {\r
   {reg, 8, "REGS"},\r
+  {&IRQa, 1, "IRQA"},\r
+  {&IRQCount, 2, "IRQC"},\r
+  {&IRQLatch, 2, "IRQL"},\r
   {0}\r
 };\r
 \r
@@ -65,7 +70,7 @@ static void MNNNClose(void)
 }\r
 */\r
 \r
-static void MNNNIRQHook(void)\r
+static void MNNNIRQHook()\r
 {\r
   X6502_IRQBegin(FCEU_IQEXT);\r
 }\r