spu2-x: Fix a bug in my last commit.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3073 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-05-25 05:33:21 +00:00
parent 94ae54d6c0
commit ef8039ed1d
3 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void CfgSetSettingsDir(const char* dir)
FileLog("CfgSetSettingsDir(%s)\n", dir);
path = wxString::FromAscii(dir) + L"/spu2-x.ini";
pathSet = true;
initIni();
//initIni();
}
void CfgWriteBool(const wchar_t* Section, const wchar_t* Name, bool Value)

View File

@ -257,7 +257,9 @@ void DisplayDialog()
void configure()
{
initIni();
ReadSettings();
DisplayDialog();
WriteSettings();
delete spuConfig;
}

View File

@ -112,4 +112,5 @@ void configure();
void AboutBox();
extern wxFileConfig *spuConfig;
extern bool pathSet;
extern void initIni();
#endif // CONFIG_H_INCLUDED