DolphinWX: Remove an unused variable from ISOProperties
Was used for when we still had the toggle for projection hacks in the UI.
This commit is contained in:
parent
da2833c0e6
commit
a89416306a
|
@ -1026,9 +1026,7 @@ void CISOProperties::LoadGameConfig()
|
||||||
SetCheckboxValueFromGameini("Video", "UseBBox", UseBBox);
|
SetCheckboxValueFromGameini("Video", "UseBBox", UseBBox);
|
||||||
|
|
||||||
IniFile::Section* default_video = GameIniDefault.GetOrCreateSection("Video");
|
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;
|
int iTemp;
|
||||||
default_video->Get("ProjectionHack", &iTemp);
|
default_video->Get("ProjectionHack", &iTemp);
|
||||||
default_video->Get("PH_SZNear", &PHack_Data.PHackSZNear);
|
default_video->Get("PH_SZNear", &PHack_Data.PHackSZNear);
|
||||||
|
@ -1046,7 +1044,6 @@ void CISOProperties::LoadGameConfig()
|
||||||
if (GameIniLocal.GetIfExists("Video", "PH_ZFar", &sTemp))
|
if (GameIniLocal.GetIfExists("Video", "PH_ZFar", &sTemp))
|
||||||
PHack_Data.PHZFar = sTemp;
|
PHack_Data.PHZFar = sTemp;
|
||||||
|
|
||||||
|
|
||||||
IniFile::Section* default_emustate = GameIniDefault.GetOrCreateSection("EmuState");
|
IniFile::Section* default_emustate = GameIniDefault.GetOrCreateSection("EmuState");
|
||||||
default_emustate->Get("EmulationStateId", &iTemp, 0/*Not Set*/);
|
default_emustate->Get("EmulationStateId", &iTemp, 0/*Not Set*/);
|
||||||
EmuState->SetSelection(iTemp);
|
EmuState->SetSelection(iTemp);
|
||||||
|
|
Loading…
Reference in New Issue