mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-05 10:25:07 +01:00
f2a7b4cb8a
--------------- * added support for CUE files * added CD-DA tracks emulation (needs CUE+BIN or ISO+WAV images) * added CD fader emulation * added CDD "Fast FW" & "Fast RW" commands emulation * improved CDD TOC emulation (random freezes in Sonic CD, Switch/Panic, Final Fight CD and probably many others) * improved PCM chip synchronization with SUB-CPU (missing speeches in Willy Beamish) * fixed PCM chip emulation (random hangs in Snatcher, missing sound effects in Switch/Panic, Final Fight CD, Wonderdog...) * fixed Word-RAM memory mode on soft-reset (missing logo gfx effects) * fixed SUB-CPU access to unused areas when using PC-relative instructions (Final Fight CD first boss random crash) * fixed CPU idle loop detection on memory mode register access (Pugsy CD first boss slowdown) * fixed Mode 1 emulation (cartridge boot mode) [Core/Sound] --------------- * replaced FIR resampler by Blip Buffer for FM resampling * modified SN76489 core for use of Blip Buffer * improved PSG & FM chips synchronization using Blip Buffer * added Game Gear PSG stereo support * fixed SG-1000 specific PSG noise * fixed YM2612 LFO AM waveform (California Games surfing event) * fixed YM2612 phase precision * minor optimizations to YM2612 core [Core/Game Gear] --------------- * added support for CJ Elephant Fugitive (recently released by SMS Power) * added Game Gear extended screen option [Core/Genesis] --------------- * added support for a few recently dumped (but unreleased) games [Core/General] --------------- * improved ROM & CD image file loading * various code cleanup [Gamecube/Wii] --------------- * added automatic disc swap feature * removed automatic frameskipping (no use) * improved general audio/video sync * various code cleanup & bugfixes
52 lines
1.7 KiB
C
52 lines
1.7 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 = 60;
|
|
config.dac_bits = 14;
|
|
config.ym2413 = 2; /* = AUTO (0 = always OFF, 1 = always ON) */
|
|
|
|
/* system options */
|
|
config.system = 0; /* = AUTO (or SYSTEM_SG, SYSTEM_MARKIII, SYSTEM_SMS, SYSTEM_SMS2, SYSTEM_GG, SYSTEM_MD) */
|
|
config.region_detect = 0; /* = AUTO (1 = USA, 2 = EUROPE, 3 = JAPAN/NTSC, 4 = JAPAN/PAL) */
|
|
config.vdp_mode = 0; /* = AUTO (1 = NTSC, 2 = PAL) */
|
|
config.master_clock = 0; /* = AUTO (1 = NTSC, 2 = PAL) */
|
|
config.force_dtack = 0;
|
|
config.addr_error = 1;
|
|
config.bios = 0;
|
|
config.lock_on = 0; /* = OFF (can be TYPE_SK, TYPE_GG & TYPE_AR) */
|
|
|
|
/* display options */
|
|
config.overscan = 0; /* = both ON (0 = no borders , 1 = vertical borders only, 2 = horizontal borders only) */
|
|
config.gg_extra = 0; /* 1 = show extended Game Gear screen (256x192) */
|
|
config.render = 0; /* 1 = double resolution output (only when interlaced mode 2 is enabled) */
|
|
|
|
/* controllers options */
|
|
input.system[0] = SYSTEM_MD_GAMEPAD;
|
|
input.system[1] = SYSTEM_MD_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_PAD3B;
|
|
}
|
|
}
|