o crc checking rom

This commit is contained in:
optixx
2009-04-25 20:41:02 +02:00
parent edf204ac24
commit 4a083cbea3
32 changed files with 1553 additions and 0 deletions

19
snes/crc/pad.h Normal file
View File

@@ -0,0 +1,19 @@
typedef struct padStatus{
byte right:1;
byte left:1;
byte down:1;
byte up:1;
byte start:1; // Enter
byte select:1; // Space
byte Y:1; // X
byte B:1; // C
//--------------------------------
byte Dummy:4;
byte R:1; // Z
byte L:1; // A
byte X:1; // S
byte A:1; // D
} padStatus;
extern void enablePad(void);
extern padStatus readPad(byte padNumber);