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:
Jonathan Li 2018-07-14 21:24:11 +01:00
parent 286e7293fa
commit 219519b578
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}