gsdx: Only set ini path in GSdxApp::Init() if it's empty

Fixes a regression introduced by 46ba9aa117,
where the Linux GS replayer would always use the options in inis/GSdx.ini
(or use the default options if that doesn't exist) to replay the dump,
instead of using the GSdx.ini from the specified ini folder.
This commit is contained in:
Jonathan Li 2016-08-04 00:42:50 +01:00
parent e9e1b33884
commit 869f4d1898
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ void GSdxApp::Init()
return;
is_initialised = true;
m_ini = "inis/GSdx.ini";
if (m_ini.empty())
m_ini = "inis/GSdx.ini";
m_section = "Settings";
#ifdef _WIN32