GTK+: Disable sound sync by default.

This commit is contained in:
Brandon Wright 2018-10-28 19:46:08 -05:00
parent 79b1ab0250
commit 4af57d8d98
1 changed files with 3 additions and 1 deletions

View File

@ -256,7 +256,7 @@ Snes9xConfig::load_defaults (void)
Settings.SupportHiRes = true; Settings.SupportHiRes = true;
Settings.FrameTime = Settings.FrameTimeNTSC; Settings.FrameTime = Settings.FrameTimeNTSC;
Settings.BlockInvalidVRAMAccessMaster = TRUE; Settings.BlockInvalidVRAMAccessMaster = TRUE;
Settings.SoundSync = 1; Settings.SoundSync = 0;
Settings.DynamicRateControl = FALSE; Settings.DynamicRateControl = FALSE;
Settings.DynamicRateLimit = 5; Settings.DynamicRateLimit = 5;
Settings.InterpolationMethod = DSP_INTERPOLATION_GAUSSIAN; Settings.InterpolationMethod = DSP_INTERPOLATION_GAUSSIAN;
@ -654,6 +654,8 @@ Snes9xConfig::set_option (const char *name, const char *value)
Settings.SkipFrames = atoi (value); Settings.SkipFrames = atoi (value);
if (Settings.SkipFrames == THROTTLE_SOUND_SYNC) if (Settings.SkipFrames == THROTTLE_SOUND_SYNC)
Settings.SoundSync = 1; Settings.SoundSync = 1;
else
Settings.SoundSync = 0;
} }
else if (!strcasecmp (name, "sound_emulation")) else if (!strcasecmp (name, "sound_emulation"))
{ {