Skip to content

Commit

Permalink
GLideNUI-wtl: fix read game prilfe setting in init
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 authored and gonetz committed May 10, 2020
1 parent 64c7af5 commit 5f816d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GLideNUI-wtl/ConfigDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void CConfigDlg::Init(bool reInit, bool blockCustomSettings) {
m_blockReInit = true;
bool CustomSettings = m_EmulationTab != NULL && CButton(m_EmulationTab->GetDlgItem(IDC_CHK_USE_PER_GAME)).GetCheck() == BST_CHECKED;

if (reInit && m_romName != NULL && CustomSettings && CButton(m_EmulationTab->GetDlgItem(IDC_GAME_PROFILE)).GetCheck() == BST_CHECKED) {
if (reInit && m_romName != NULL && CustomSettings && CButton(GetDlgItem(IDC_GAME_PROFILE)).GetCheck() == BST_CHECKED) {
loadCustomRomSettings(m_strIniPath.c_str(), m_romName);
} else if (reInit) {
loadSettings(m_strIniPath.c_str());
Expand Down

0 comments on commit 5f816d2

Please sign in to comment.