From a89416306a4facfedf6458c1d3fc2a8b580c5794 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Aug 2014 15:23:27 -0400 Subject: [PATCH] DolphinWX: Remove an unused variable from ISOProperties Was used for when we still had the toggle for projection hacks in the UI. --- Source/Core/DolphinWX/ISOProperties.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp index 0fa42c1484..0a24a0f487 100644 --- a/Source/Core/DolphinWX/ISOProperties.cpp +++ b/Source/Core/DolphinWX/ISOProperties.cpp @@ -1026,9 +1026,7 @@ void CISOProperties::LoadGameConfig() SetCheckboxValueFromGameini("Video", "UseBBox", UseBBox); IniFile::Section* default_video = GameIniDefault.GetOrCreateSection("Video"); - IniFile::Section* local_video = GameIniLocal.GetOrCreateSection("Video"); - // First set values from default gameini, then apply values from local gameini int iTemp; default_video->Get("ProjectionHack", &iTemp); default_video->Get("PH_SZNear", &PHack_Data.PHackSZNear); @@ -1046,7 +1044,6 @@ void CISOProperties::LoadGameConfig() if (GameIniLocal.GetIfExists("Video", "PH_ZFar", &sTemp)) PHack_Data.PHZFar = sTemp; - IniFile::Section* default_emustate = GameIniDefault.GetOrCreateSection("EmuState"); default_emustate->Get("EmulationStateId", &iTemp, 0/*Not Set*/); EmuState->SetSelection(iTemp);