mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Really fix reading projection hacks from game inis.
This commit is contained in:
parent
e3d01de01d
commit
47ce3dd09d
@ -1025,12 +1025,13 @@ void CISOProperties::LoadGameConfig()
|
||||
if (GameIniLocal.Get("Video", "PH_ExtraParam", &bTemp))
|
||||
PHack_Data.PHackExP = bTemp;
|
||||
|
||||
std::string sTemp;
|
||||
GameIniDefault.Get("Video", "PH_ZNear", &PHack_Data.PHZNear);
|
||||
if (GameIniLocal.Get("Video", "PH_ZNear", &bTemp))
|
||||
PHack_Data.PHZNear = bTemp;
|
||||
if (GameIniLocal.Get("Video", "PH_ZNear", &sTemp))
|
||||
PHack_Data.PHZNear = sTemp;
|
||||
GameIniDefault.Get("Video", "PH_ZFar", &PHack_Data.PHZFar);
|
||||
if (GameIniLocal.Get("Video", "PH_ZFar", &bTemp))
|
||||
PHack_Data.PHZFar = bTemp;
|
||||
if (GameIniLocal.Get("Video", "PH_ZFar", &sTemp))
|
||||
PHack_Data.PHZFar = sTemp;
|
||||
|
||||
int iTemp;
|
||||
GameIniDefault.Get("EmuState", "EmulationStateId", &iTemp, 0/*Not Set*/);
|
||||
@ -1038,7 +1039,6 @@ void CISOProperties::LoadGameConfig()
|
||||
if (GameIniLocal.Get("EmuState", "EmulationStateId", &iTemp, 0/*Not Set*/))
|
||||
EmuState->SetSelection(iTemp);
|
||||
|
||||
std::string sTemp;
|
||||
GameIniDefault.Get("EmuState", "EmulationIssues", &sTemp);
|
||||
if (!sTemp.empty())
|
||||
EmuIssues->SetValue(StrToWxStr(sTemp));
|
||||
|
Loading…
x
Reference in New Issue
Block a user