mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-05 10:25:07 +01:00
f21a08ebfa
.improved Z80 bus reset accuracy .improved Z80 locks & VDP access accuracy .improved soft-reset accuracy .adjusted Horizontal Counter timing in H32 mode (fixes Sonic 3D Blast 'bonus' levels) .updated win32 port to compile with recent changes .input code cleanup [GCN] .fixed soft-reset (reset switch should also works now) IMPORTANT: Because of some internal changes, saved states from previous revisions are not compatible !
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
|
|
#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.low_freq = 200;
|
|
config.high_freq = 8000;
|
|
config.lg = 1.0;
|
|
config.mg = 1.0;
|
|
config.hg = 1.0;
|
|
config.lp_range = 50;
|
|
config.rolloff = 0.999;
|
|
config.dac_bits = 14;
|
|
|
|
/* system options */
|
|
config.region_detect = 0;
|
|
config.force_dtack = 0;
|
|
config.addr_error = 1;
|
|
config.bios_enabled = 0;
|
|
config.lock_on = 0;
|
|
config.romtype = 0;
|
|
|
|
/* display options */
|
|
config.overscan = 0;
|
|
config.render = 0;
|
|
|
|
/* 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<MAX_INPUTS;i++)
|
|
config.input[i].padtype = DEVICE_3BUTTON;
|
|
}
|
|
|