Genesis-Plus-GX/source/unused/win/config.h

47 lines
886 B
C
Raw Normal View History

2008-08-21 22:34:00 +02:00
#ifndef _CONFIG_H_
#define _CONFIG_H_
/****************************************************************************
* Config Option
*
****************************************************************************/
typedef struct
{
uint8 padtype;
} t_input_c;
typedef struct
{
2008-08-21 22:34:00 +02:00
uint8 hq_fm;
uint8 psgBoostNoise;
int32 psg_preamp;
int32 fm_preamp;
uint8 filter;
uint16 low_freq;
uint16 high_freq;
2009-11-22 17:35:41 +01:00
uint8 lp_range;
float lg;
float mg;
float hg;
2008-08-21 22:34:00 +02:00
uint8 region_detect;
uint8 force_dtack;
uint8 addr_error;
2008-08-21 22:34:00 +02:00
uint8 bios_enabled;
uint8 lock_on;
uint8 romtype;
2008-08-21 22:34:00 +02:00
uint8 overscan;
uint8 render;
2008-10-13 18:07:02 +02:00
uint8 ntsc;
t_input_c input[MAX_INPUTS];
uint8 gun_cursor[2];
2008-08-21 22:34:00 +02:00
uint8 invert_mouse;
} t_config;
/* Global variables */
extern t_config config;
2009-11-22 17:35:41 +01:00
extern void set_config_defaults(void);
2008-08-21 22:34:00 +02:00
#endif /* _CONFIG_H_ */