mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
94ae54d6c0
commit
ef8039ed1d
|
@ -39,7 +39,7 @@ void CfgSetSettingsDir(const char* dir)
|
||||||
FileLog("CfgSetSettingsDir(%s)\n", dir);
|
FileLog("CfgSetSettingsDir(%s)\n", dir);
|
||||||
path = wxString::FromAscii(dir) + L"/spu2-x.ini";
|
path = wxString::FromAscii(dir) + L"/spu2-x.ini";
|
||||||
pathSet = true;
|
pathSet = true;
|
||||||
initIni();
|
//initIni();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CfgWriteBool(const wchar_t* Section, const wchar_t* Name, bool Value)
|
void CfgWriteBool(const wchar_t* Section, const wchar_t* Name, bool Value)
|
||||||
|
|
|
@ -257,7 +257,9 @@ void DisplayDialog()
|
||||||
|
|
||||||
void configure()
|
void configure()
|
||||||
{
|
{
|
||||||
|
initIni();
|
||||||
ReadSettings();
|
ReadSettings();
|
||||||
DisplayDialog();
|
DisplayDialog();
|
||||||
WriteSettings();
|
WriteSettings();
|
||||||
|
delete spuConfig;
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,4 +112,5 @@ void configure();
|
||||||
void AboutBox();
|
void AboutBox();
|
||||||
extern wxFileConfig *spuConfig;
|
extern wxFileConfig *spuConfig;
|
||||||
extern bool pathSet;
|
extern bool pathSet;
|
||||||
|
extern void initIni();
|
||||||
#endif // CONFIG_H_INCLUDED
|
#endif // CONFIG_H_INCLUDED
|
||||||
|
|
Loading…
Reference in New Issue