merge mappers from FCEU-mm
[fceu.git] / boards / 68.c
index 6a9420c..08dfa8c 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
 #include "mapinc.h"\r
@@ -32,8 +32,8 @@ static SFORMAT StateRegs[]=
   {&nt2, 1, "NT2"},\r
   {&mirr, 1, "MIRR"},\r
   {&prg_reg, 1, "PRG"},\r
-  {&kogame, 1, "KOGAME"},\r
-  {&count, 4, "COUNT"},\r
+  {&kogame, 1, "KGME"},\r
+  {&count, 4, "CNT"},\r
   {chr_reg, 4, "CHR"},\r
   {0}\r
 };\r
@@ -96,6 +96,7 @@ static DECLFW(M68WriteLo)
     count = 0;\r
     setprg16r((PRGptr[1])?kogame:0,0x8000,prg_reg);\r
   }\r
+  CartBW(A,V);\r
 }\r
 \r
 static DECLFW(M68WriteCHR)\r