2008-08-21 22:34:00 +02:00
|
|
|
|
|
|
|
#ifndef _CONFIG_H_
|
|
|
|
#define _CONFIG_H_
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Config Option
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
typedef struct
|
|
|
|
{
|
2009-06-02 20:12:31 +02:00
|
|
|
uint8 padtype;
|
2010-06-14 10:05:45 +02:00
|
|
|
} t_input_config;
|
2009-06-02 20:12:31 +02:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 hq_fm;
|
2009-06-02 20:12:31 +02:00
|
|
|
uint8 filter;
|
2010-06-14 10:05:45 +02:00
|
|
|
uint8 psgBoostNoise;
|
2010-05-30 20:42:03 +02:00
|
|
|
uint8 dac_bits;
|
2010-06-14 10:05:45 +02:00
|
|
|
int16 psg_preamp;
|
|
|
|
int16 fm_preamp;
|
|
|
|
int16 lp_range;
|
|
|
|
int16 low_freq;
|
|
|
|
int16 high_freq;
|
|
|
|
int16 lg;
|
|
|
|
int16 mg;
|
|
|
|
int16 hg;
|
|
|
|
float rolloff;
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 region_detect;
|
|
|
|
uint8 force_dtack;
|
2009-08-06 20:31:05 +02:00
|
|
|
uint8 addr_error;
|
2010-06-14 10:05:45 +02:00
|
|
|
uint8 tmss;
|
2009-08-06 20:31:05 +02:00
|
|
|
uint8 lock_on;
|
2010-06-14 10:05:45 +02:00
|
|
|
uint8 hot_swap;
|
2009-08-06 20:31:05 +02:00
|
|
|
uint8 romtype;
|
2010-06-14 10:05:45 +02:00
|
|
|
uint8 invert_mouse;
|
|
|
|
uint8 gun_cursor[2];
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 overscan;
|
2008-10-13 18:07:02 +02:00
|
|
|
uint8 ntsc;
|
2010-06-14 10:05:45 +02:00
|
|
|
uint8 render;
|
|
|
|
t_input_config input[MAX_INPUTS];
|
2008-08-21 22:34:00 +02:00
|
|
|
} 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_ */
|
|
|
|
|