mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
GLideNUI-wtl: fix read game prilfe setting in init
This commit is contained in:
parent
64c7af548a
commit
5f816d2a3d
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user