Merge pull request #6984 from Techjar/patch-2

Qt/GameConfigWidget: Fix Deterministic dual core not saving if changed to "Not Set"
This commit is contained in:
spycrab 2018-05-27 15:35:03 +02:00 committed by GitHub
commit 48961aa677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -304,6 +304,10 @@ void GameConfigWidget::SaveSettings()
m_gameini_local.GetOrCreateSection("Core")->Set("GPUDeterminismMode", determinism_mode); m_gameini_local.GetOrCreateSection("Core")->Set("GPUDeterminismMode", determinism_mode);
} }
} }
else
{
m_gameini_local.DeleteKey("Core", "GPUDeterminismMode");
}
// Stereoscopy // Stereoscopy
int depth_percentage = m_depth_slider->value(); int depth_percentage = m_depth_slider->value();