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