some refactoring, no change in performance seen
[fceu.git] / git.h
1 #ifndef __FCEU_GIT
2 #define __FCEU_GIT
3 /* Mmm...git. Almost as funny as "gimp". */
4 #define GIT_CART        0       /* Cart. */
5 #define GIT_VSUNI       1       /* VS Unisystem. */
6 #define GIT_FDS         2       /* Famicom Disk System. */
7 #define GIT_NSF         3       /* NES Sound Format. */
8
9 #define GIV_NTSC        0       /* NTSC emulation. */
10 #define GIV_PAL         1       /* PAL emulation. */
11 #define GIV_USER        2       /* What was set by FCEUI_SetVidSys(). */
12         
13 typedef struct {
14         char *name;
15         int type;       /* GIT_* */
16         int vidsys;     /* Current emulated video system; GIV_* */
17         int input[2];   /* Desired input for emulated input ports 1 and 2; -1
18                            for unknown desired input. */
19         int inputfc;    /* Desired Famicom expansion port device. -1 for unknown
20                            desired input. */
21 } FCEUGI;
22 #endif