X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=git.h;h=bbe64051f49bd185aa00b7893e462c39db5b4112;hp=5dbc2b74ae7419b7fbd717ffef46fb9d3a652adc;hb=92764e6252a3691033d6044b466bf716c96b62d5;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9 diff --git a/git.h b/git.h index 5dbc2b7..bbe6405 100644 --- a/git.h +++ b/git.h @@ -1,22 +1,29 @@ -#ifndef __FCEU_GIT -#define __FCEU_GIT -/* Mmm...git. Almost as funny as "gimp". */ -#define GIT_CART 0 /* Cart. */ -#define GIT_VSUNI 1 /* VS Unisystem. */ -#define GIT_FDS 2 /* Famicom Disk System. */ -#define GIT_NSF 3 /* NES Sound Format. */ - -#define GIV_NTSC 0 /* NTSC emulation. */ -#define GIV_PAL 1 /* PAL emulation. */ -#define GIV_USER 2 /* What was set by FCEUI_SetVidSys(). */ - -typedef struct { - char *name; - int type; /* GIT_* */ - int vidsys; /* Current emulated video system; GIV_* */ - int input[2]; /* Desired input for emulated input ports 1 and 2; -1 - for unknown desired input. */ - int inputfc; /* Desired Famicom expansion port device. -1 for unknown - desired input. */ -} FCEUGI; -#endif +#ifndef __FCEU_GIT +#define __FCEU_GIT +/* Mmm...git. Almost as funny as "gimp". */ +#define GIT_CART 0 /* Cart. */ +#define GIT_VSUNI 1 /* VS Unisystem. */ +#define GIT_FDS 2 /* Famicom Disk System. */ +#define GIT_NSF 3 /* NES Sound Format. */ + +#define GIV_NTSC 0 /* NTSC emulation. */ +#define GIV_PAL 1 /* PAL emulation. */ +#define GIV_USER 2 /* What was set by FCEUI_SetVidSys(). */ + +typedef struct { + uint8 *name; /* Game name, UTF8 encoding */ + + int type; /* GIT_* */ + int vidsys; /* Current emulated video system; GIV_* */ + int input[2]; /* Desired input for emulated input ports 1 and 2; -1 + for unknown desired input. */ + int inputfc; /* Desired Famicom expansion port device. -1 for unknown + desired input. */ + int cspecial; /* Special cart expansion: DIP switches, barcode + reader, etc. + */ + uint8 MD5[16]; + int soundrate; /* For Ogg Vorbis expansion sound wacky support. 0 for default. */ + int soundchan; /* Number of sound channels. */ +} FCEUGI; +#endif