X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2F__dummy_mapper.c;h=eaa40f983640adbbdb8d7718a08d30d483aa609d;hp=f56736d4a1332f0d034ec7ae01b77d48eb564626;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/__dummy_mapper.c b/boards/__dummy_mapper.c index f56736d..eaa40f9 100644 --- a/boards/__dummy_mapper.c +++ b/boards/__dummy_mapper.c @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2009 CaH4e3 + * Copyright (C) 2012 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,12 +15,14 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "mapinc.h" static uint8 reg[8]; +static uint8 IRQa; +static int16 IRQCount, IRQLatch; /* static uint8 *WRAM=NULL; static uint32 WRAMSIZE; @@ -31,6 +33,9 @@ static uint32 CHRRAMSIZE; static SFORMAT StateRegs[]= { {reg, 8, "REGS"}, + {&IRQa, 1, "IRQA"}, + {&IRQCount, 2, "IRQC"}, + {&IRQLatch, 2, "IRQL"}, {0} }; @@ -65,7 +70,7 @@ static void MNNNClose(void) } */ -static void MNNNIRQHook(void) +static void MNNNIRQHook() { X6502_IRQBegin(FCEU_IQEXT); }