diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index 404f64d4b9..02f5a6296b 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -174,7 +174,12 @@ void PrefsManager::SaveGlobalPrefsToDisk() ini.SetValue ( "Options", "DWIPath", m_DWIPath ); ini.SetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds ); ini.SetValueB( "Options", "CoinOpMode", m_bCoinOpMode ); - ini.SetValue ( "Options", "SoundDrivers", m_bSoundDrivers ); + + /* Only write this if it's been changed. This ensures that we can change + * the default and have it take effect for everyone (except people who + * tweaked this value). */ + if(m_bSoundDrivers != DEFAULT_SOUND_DRIVER_LIST) + ini.SetValue ( "Options", "SoundDrivers", m_bSoundDrivers ); ini.SetValue( "Options", "AdditionalSongFolders", join(",", m_asAdditionalSongFolders) );