[Project64] fix CSettingTypeApplication::Save

This commit is contained in:
zilmar 2016-12-14 06:46:05 +11:00
parent beed52498e
commit ec5c860a60
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ void CSettingTypeApplication::Save(int /*Index*/, bool 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_DefaultSetting != Default_Constant && g_Settings->LoadBool(m_DefaultSetting) == Value)))
{
m_SettingsIniFile->SaveString(SectionName(), m_KeyNameIdex.c_str(), NULL);
}