1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

GLideNUI-wtl: Fix save to custom ini

This commit is contained in:
oddMLan 2020-04-27 00:41:22 -07:00 committed by Sergey Lipskiy
parent 115399aa4b
commit 01a1e05432

View File

@ -220,8 +220,8 @@ void CConfigDlg::SaveSettings() {
for (size_t i = 0; i < m_TabWindows.size(); i++)
m_TabWindows[i]->SaveSettings();
if (config.generalEmulation.enableCustomSettings && CButton(m_EmulationTab->GetDlgItem(IDC_GAME_PROFILE)).GetCheck() == BST_CHECKED && m_romName != nullptr)
saveCustomRomSettings(m_strIniPath.c_str(), m_romName);
if (config.generalEmulation.enableCustomSettings && CButton(GetDlgItem(IDC_GAME_PROFILE)).GetCheck() == BST_CHECKED && m_romName != nullptr)
saveCustomRomSettings(m_strIniPath.c_str(), m_romName);
else
writeSettings(m_strIniPath.c_str());