diff --git a/Source/Project64-core/Settings/SettingType/SettingsType-Application.cpp b/Source/Project64-core/Settings/SettingType/SettingsType-Application.cpp index 3747a3456..a5ba6b042 100644 --- a/Source/Project64-core/Settings/SettingType/SettingsType-Application.cpp +++ b/Source/Project64-core/Settings/SettingType/SettingsType-Application.cpp @@ -246,7 +246,16 @@ void CSettingTypeApplication::LoadDefault(int /*Index*/, stdstr & Value) const //Update the settings void CSettingTypeApplication::Save(int /*Index*/, bool Value) { - m_SettingsIniFile->SaveNumber(SectionName(), m_KeyNameIdex.c_str(), Value); + if (m_DefaultSetting != Default_None && + ((m_DefaultSetting == Default_Constant && (bool)m_DefaultValue == Value) || + (m_DefaultSetting != Default_Constant && g_Settings->LoadDword(m_DefaultSetting) == Value))) + { + m_SettingsIniFile->SaveString(SectionName(), m_KeyNameIdex.c_str(), NULL); + } + else + { + m_SettingsIniFile->SaveNumber(SectionName(), m_KeyNameIdex.c_str(), Value); + } } void CSettingTypeApplication::Save(int /*Index*/, uint32_t Value)