2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#ifndef _CONFIG_H_
|
|
|
|
#define _CONFIG_H_
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Config Option
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
typedef struct
|
|
|
|
{
|
2008-08-17 22:17:49 +02:00
|
|
|
char version[15];
|
2008-08-07 14:26:07 +02:00
|
|
|
double psg_preamp;
|
|
|
|
double fm_preamp;
|
|
|
|
uint8 boost;
|
2008-08-21 22:34:00 +02:00
|
|
|
uint8 filter;
|
2008-08-07 14:26:07 +02:00
|
|
|
uint8 hq_fm;
|
|
|
|
uint8 fm_core;
|
|
|
|
int8 sram_auto;
|
|
|
|
int8 freeze_auto;
|
|
|
|
uint8 region_detect;
|
|
|
|
uint8 force_dtack;
|
|
|
|
uint8 bios_enabled;
|
|
|
|
int16 xshift;
|
|
|
|
int16 yshift;
|
|
|
|
int16 xscale;
|
|
|
|
int16 yscale;
|
|
|
|
uint8 tv_mode;
|
|
|
|
uint8 aspect;
|
|
|
|
uint8 overscan;
|
|
|
|
uint8 render;
|
2008-10-02 22:22:53 +02:00
|
|
|
uint8 ntsc;
|
2008-10-23 22:38:06 +02:00
|
|
|
uint8 gxscaler;
|
|
|
|
uint8 bilinear;
|
2008-08-07 14:26:07 +02:00
|
|
|
uint16 pad_keymap[4][MAX_KEYS];
|
|
|
|
uint32 wpad_keymap[4*3][MAX_KEYS];
|
|
|
|
t_input_config input[MAX_DEVICES];
|
2008-08-10 22:40:04 +02:00
|
|
|
uint8 gun_cursor;
|
|
|
|
uint8 invert_mouse;
|
2008-08-07 14:26:07 +02:00
|
|
|
} t_config;
|
|
|
|
|
|
|
|
extern t_config config;
|
|
|
|
extern void config_save();
|
|
|
|
extern void config_load();
|
|
|
|
extern void set_config_defaults(void);
|
2008-10-12 21:56:35 +02:00
|
|
|
extern bool use_FAT;
|
2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#endif /* _CONFIG_H_ */
|
|
|
|
|