notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mappers from FCEU-mm
[fceu.git]
/
boards
/
222.c
diff --git
a/boards/222.c
b/boards/222.c
index
e230751
..
a1da139
100644
(file)
--- a/
boards/222.c
+++ b/
boards/222.c
@@
-15,13
+15,15
@@
*
\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., 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
* (VRC4 mapper)
\r
* (VRC4 mapper)
\r
+ *
\r
*/
\r
\r
#include "mapinc.h"
\r
\r
*/
\r
\r
#include "mapinc.h"
\r
\r
-static uint8 IRQCount;
\r
+static uint8 IRQCount;
//, IRQPre;
\r
static uint8 IRQa;
\r
static uint8 prg_reg[2];
\r
static uint8 chr_reg[8];
\r
static uint8 IRQa;
\r
static uint8 prg_reg[2];
\r
static uint8 chr_reg[8];
\r
@@
-52,12
+54,12
@@
static void M222IRQ(void)
\r
static void Sync(void)
\r
{
\r
\r
static void Sync(void)
\r
{
\r
- int i;
\r
setprg8(0x8000,prg_reg[0]);
\r
setprg8(0xA000,prg_reg[1]);
\r
setprg8(0x8000,prg_reg[0]);
\r
setprg8(0xA000,prg_reg[1]);
\r
+ int i;
\r
for(i=0; i<8; i++)
\r
for(i=0; i<8; i++)
\r
- setchr1(i<<10,chr_reg[i]);
\r
- setmirror(mirr^1);
\r
+ setchr1(i<<10,chr_reg[i]);
\r
+ setmirror(mirr^1);
\r
}
\r
\r
static DECLFW(M222Write)
\r
}
\r
\r
static DECLFW(M222Write)
\r