#include "osd.h" t_config config; void set_config_defaults(void) { int i; /* sound options */ config.psg_preamp = 150; config.fm_preamp = 100; config.hq_fm = 1; config.psgBoostNoise = 0; config.filter = 1; config.lg = 1.0; config.mg = 1.0; config.hg = 1.0; /* system options */ config.region_detect = 0; config.force_dtack = 0; config.bios_enabled = 0; /* display options */ config.overscan = 1; config.render = 1; /* controllers options */ 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