mirror of https://github.com/PCSX2/pcsx2.git
spu2-x:linux: Fix ini path issue
Fixes an issue with opening ini files when a non-ASCII path is used.
This commit is contained in:
parent
286e7293fa
commit
219519b578
|
@ -37,7 +37,7 @@ void setIni(const wchar_t *Section)
|
|||
void CfgSetSettingsDir(const char *dir)
|
||||
{
|
||||
FileLog("CfgSetSettingsDir(%s)\n", dir);
|
||||
path = wxString::FromAscii(dir) + L"/spu2-x.ini";
|
||||
path = wxString::FromUTF8(dir) + L"/spu2-x.ini";
|
||||
pathSet = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue