notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compat hacks for this old version of fceu
[fceu.git]
/
boards
/
__dummy_mapper.c
diff --git
a/boards/__dummy_mapper.c
b/boards/__dummy_mapper.c
index
f56736d
..
eaa40f9
100644
(file)
--- a/
boards/__dummy_mapper.c
+++ b/
boards/__dummy_mapper.c
@@
-1,7
+1,7
@@
/* FCE Ultra - NES/Famicom Emulator
\r
*
\r
* Copyright notice for this file:
\r
/* FCE Ultra - NES/Famicom Emulator
\r
*
\r
* Copyright notice for this file:
\r
- * Copyright (C) 20
09
CaH4e3
\r
+ * Copyright (C) 20
12
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
* 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
@@
-15,12
+15,14
@@
*
\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
*
\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., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
\r
+ * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
\r
*/
\r
\r
#include "mapinc.h"
\r
\r
static uint8 reg[8];
\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
/*
\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
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
{0}
\r
};
\r
\r
@@
-65,7
+70,7
@@
static void MNNNClose(void)
}
\r
*/
\r
\r
}
\r
*/
\r
\r
-static void MNNNIRQHook(
void
)
\r
+static void MNNNIRQHook()
\r
{
\r
X6502_IRQBegin(FCEU_IQEXT);
\r
}
\r
{
\r
X6502_IRQBegin(FCEU_IQEXT);
\r
}
\r