FIXED use blargg's default values for echo & stereo

This commit is contained in:
spacy51 2008-08-27 19:22:11 +00:00
parent 2fb3b0f555
commit 2c4a89738b
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ static void flush_samples()
int const chan_count = 4; int const chan_count = 4;
gb_effects_config_t gb_effects_config = { false, 0.0f, 0.0f, false }; gb_effects_config_t gb_effects_config = { false, 0.2f, 0.15f, false };
static gb_effects_config_t gb_effects_config_current; static gb_effects_config_t gb_effects_config_current;
static int prevSoundEnable = -1; static int prevSoundEnable = -1;

View File

@ -1598,8 +1598,8 @@ void VBA::loadSettings()
gb_effects_config.enabled = 1 == regQueryDwordValue( "gbSoundEffectsEnabled", 0 ); gb_effects_config.enabled = 1 == regQueryDwordValue( "gbSoundEffectsEnabled", 0 );
gb_effects_config.surround = 1 == regQueryDwordValue( "gbSoundEffectsSurround", 0 ); gb_effects_config.surround = 1 == regQueryDwordValue( "gbSoundEffectsSurround", 0 );
gb_effects_config.echo = (float)regQueryDwordValue( "gbSoundEffectsEcho", 0 ) / 100.0f; gb_effects_config.echo = (float)regQueryDwordValue( "gbSoundEffectsEcho", 20 ) / 100.0f;
gb_effects_config.stereo = (float)regQueryDwordValue( "gbSoundEffectsStereo", 0 ) / 100.0f; gb_effects_config.stereo = (float)regQueryDwordValue( "gbSoundEffectsStereo", 15 ) / 100.0f;
tripleBuffering = regQueryDwordValue("tripleBuffering", false) ? true : false; tripleBuffering = regQueryDwordValue("tripleBuffering", false) ? true : false;