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;
|
|
|
|
} t_input_c;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 hq_fm;
|
2009-06-02 20:12:31 +02:00
|
|
|
uint8 psgBoostNoise;
|
|
|
|
int32 psg_preamp;
|
|
|
|
int32 fm_preamp;
|
|
|
|
uint8 filter;
|
2009-08-06 20:31:05 +02:00
|
|
|
uint16 low_freq;
|
|
|
|
uint16 high_freq;
|
2009-11-22 17:35:41 +01:00
|
|
|
uint8 lp_range;
|
2009-06-02 20:12:31 +02:00
|
|
|
float lg;
|
|
|
|
float mg;
|
|
|
|
float hg;
|
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;
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 bios_enabled;
|
2009-08-06 20:31:05 +02:00
|
|
|
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;
|
2009-06-02 20:12:31 +02:00
|
|
|
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_ */
|
|
|
|
|