GameSettings: Fix texture filter setting not loading from ini

This commit is contained in:
Connor McLaughlin 2021-01-27 00:30:44 +10:00
parent c119ccffc8
commit 1320e4fdab

View file

@ -274,7 +274,7 @@ static void ParseIniSection(Entry* entry, const char* section, const CSimpleIniA
cvalue = ini.GetValue(section, "GPUScaledDithering", nullptr); cvalue = ini.GetValue(section, "GPUScaledDithering", nullptr);
if (cvalue) if (cvalue)
entry->gpu_scaled_dithering = StringUtil::FromChars<bool>(cvalue); entry->gpu_scaled_dithering = StringUtil::FromChars<bool>(cvalue);
cvalue = ini.GetValue(section, "GPUBilinearTextureFiltering", nullptr); cvalue = ini.GetValue(section, "GPUTextureFiltering", nullptr);
if (cvalue) if (cvalue)
entry->gpu_texture_filter = Settings::ParseTextureFilterName(cvalue); entry->gpu_texture_filter = Settings::ParseTextureFilterName(cvalue);
cvalue = ini.GetValue(section, "GPUForceNTSCTimings", nullptr); cvalue = ini.GetValue(section, "GPUForceNTSCTimings", nullptr);