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:
parent
115399aa4b
commit
01a1e05432
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user