1 #ifndef __FCEU_GIT 2 #define __FCEU_GIT 3 4 /* Mmm...git. Almost as funny as "gimp". */ 5 #define GIT_CART 0 /* Cart. */ 6 #define GIT_VSUNI 1 /* VS Unisystem. */ 7 #define GIT_FDS 2 /* Famicom Disk System. */ 8 #define GIT_NSF 3 /* NES Sound Format. */ 9 10 #define GIV_NTSC 0 /* NTSC emulation. */ 11 #define GIV_PAL 1 /* PAL emulation. */ 12 #define GIV_USER 2 /* What was set by FCEUI_SetVidSys(). */ 13 14 typedef struct { 15 uint8 *name; /* Game name, UTF8 encoding */ 16 17 int type; /* GIT_* */ 18 int vidsys; /* Current emulated video system; GIV_* */ 19 int input[2]; /* Desired input for emulated input ports 1 and 2; -1 20 for unknown desired input. */ 21 int inputfc; /* Desired Famicom expansion port device. -1 for unknown 22 desired input. */ 23 int cspecial; /* Special cart expansion: DIP switches, barcode 24 reader, etc. */ 25 uint8 MD5[16]; 26 int soundrate; /* For Ogg Vorbis expansion sound wacky support. 0 for default. */ 27 int soundchan; /* Number of sound channels. */ 28 int gameid; /* Currently used for VS game id for per-game dipswitch */ 29 } FCEUGI; 30 31 #endif 32