winport - fix mojibake bug in configured path usage (mainly screenshots, fixes #910)
This commit is contained in:
parent
cdb9acdc4d
commit
96805d7c27
|
@ -226,7 +226,7 @@ void HK_QuickScreenShot(int param, bool justPressed)
|
|||
break;
|
||||
}
|
||||
|
||||
DoScreenshot(mbstowcs_locale(fname).c_str());
|
||||
DoScreenshot(mbstowcs(fname).c_str());
|
||||
}
|
||||
|
||||
void HK_PrintScreen(int param, bool justPressed)
|
||||
|
|
|
@ -170,7 +170,7 @@ void createDirectoryRecursively(std::wstring path)
|
|||
|
||||
void FCEUD_MakePathDirs(const char *fname)
|
||||
{
|
||||
createDirectoryRecursively(mbstowcs_locale(fname));
|
||||
createDirectoryRecursively(mbstowcs(fname));
|
||||
}
|
||||
#endif
|
||||
//------------------------------
|
||||
|
|
Loading…
Reference in New Issue