summaryrefslogtreecommitdiff
path: root/sys/src/games/nes/dat.h
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2014-02-22 17:43:15 +0100
committeraiju <devnull@localhost>2014-02-22 17:43:15 +0100
commitaf8c91cf6d30628c17c7d7cb9733dee9e7488ab0 (patch)
tree78a21b6b94bd39829463f9910dc231b62f1996b9 /sys/src/games/nes/dat.h
parent2bfcea9197d7b18219a7f2dea1a079ec91cf2cc5 (diff)
games/nes: mmc3 and bugfixes
Diffstat (limited to 'sys/src/games/nes/dat.h')
-rw-r--r--sys/src/games/nes/dat.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/src/games/nes/dat.h b/sys/src/games/nes/dat.h
index 502c91f79..0dee8f83b 100644
--- a/sys/src/games/nes/dat.h
+++ b/sys/src/games/nes/dat.h
@@ -1,13 +1,14 @@
extern u16int pc, curpc;
extern u8int rA, rX, rY, rS, rP;
+extern u8int irq, nmi;
extern uchar mem[32768], ppuram[16384], oam[256];
extern u16int pput, ppuv;
extern u8int ppusx, vrambuf;
extern int mirr, ppux, ppuy, odd, vramlatch, keylatch;
-extern int map, scale;
+extern int map, scale, mmc3hack;
extern uchar *prg, *chr;
-extern int nprg, nchr, nmi, map, chrram;
+extern int nprg, nchr, map, chrram;
extern int keys, clock, ppuclock;
@@ -37,7 +38,7 @@ enum {
GRAYSCALE = 1<<0,
BG8DISP = 1<<1,
- BG8SPRITE = 1<<2,
+ SPRITE8DISP = 1<<2,
BGDISP = 1<<3,
SPRITEDISP = 1<<4,
@@ -84,4 +85,5 @@ enum {
INIT = -1,
SAVE = -2,
RSTR = -3,
+ SCAN = -4,
};