2008-08-21 22:34:00 +02:00
|
|
|
|
|
|
|
#include "osd.h"
|
|
|
|
|
|
|
|
t_config config;
|
|
|
|
|
|
|
|
|
|
|
|
void set_config_defaults(void)
|
|
|
|
{
|
2009-06-02 20:12:31 +02:00
|
|
|
int i;
|
|
|
|
|
2008-08-21 22:34:00 +02:00
|
|
|
/* sound options */
|
2009-06-02 20:12:31 +02:00
|
|
|
config.psg_preamp = 150;
|
|
|
|
config.fm_preamp = 100;
|
2009-11-22 17:35:41 +01:00
|
|
|
config.hq_fm = 1;
|
2009-06-02 20:12:31 +02:00
|
|
|
config.psgBoostNoise = 0;
|
|
|
|
config.filter = 1;
|
2009-08-06 20:31:05 +02:00
|
|
|
config.low_freq = 200;
|
|
|
|
config.high_freq = 8000;
|
2009-06-02 20:12:31 +02:00
|
|
|
config.lg = 1.0;
|
|
|
|
config.mg = 1.0;
|
|
|
|
config.hg = 1.0;
|
2009-11-22 17:35:41 +01:00
|
|
|
config.lp_range = 50;
|
2010-05-30 20:42:03 +02:00
|
|
|
config.rolloff = 0.999;
|
|
|
|
config.dac_bits = 14;
|
2008-08-21 22:34:00 +02:00
|
|
|
|
|
|
|
/* system options */
|
|
|
|
config.region_detect = 0;
|
|
|
|
config.force_dtack = 0;
|
2009-08-09 11:33:48 +02:00
|
|
|
config.addr_error = 1;
|
2010-06-14 10:05:45 +02:00
|
|
|
config.tmss = 0;
|
2009-08-06 20:31:05 +02:00
|
|
|
config.lock_on = 0;
|
2009-11-22 17:35:41 +01:00
|
|
|
config.romtype = 0;
|
2008-08-21 22:34:00 +02:00
|
|
|
|
|
|
|
/* display options */
|
2010-06-30 10:16:20 +02:00
|
|
|
config.overscan = 1;
|
2009-08-06 20:31:05 +02:00
|
|
|
config.render = 0;
|
2008-08-21 22:34:00 +02:00
|
|
|
|
|
|
|
/* controllers options */
|
2009-06-02 20:12:31 +02:00
|
|
|
input.system[0] = SYSTEM_GAMEPAD;
|
|
|
|
input.system[1] = SYSTEM_GAMEPAD;
|
|
|
|
config.gun_cursor[0] = 1;
|
|
|
|
config.gun_cursor[1] = 1;
|
|
|
|
config.invert_mouse = 0;
|
|
|
|
for (i=0;i<MAX_INPUTS;i++)
|
2010-06-14 10:05:45 +02:00
|
|
|
{
|
2009-06-02 20:12:31 +02:00
|
|
|
config.input[i].padtype = DEVICE_3BUTTON;
|
2010-06-14 10:05:45 +02:00
|
|
|
}
|
2008-08-21 22:34:00 +02:00
|
|
|
}
|