Use Unicode variant of ShellExecuteA.

This commit is contained in:
The Dax 2013-10-15 03:40:32 -04:00
parent 0571a8c513
commit 750aba1663

View file

@ -1131,7 +1131,7 @@ namespace MainWindow
break;
case ID_FILE_MEMSTICK:
ShellExecuteA(NULL, "open", g_Config.memCardDirectory.c_str(), 0, 0, SW_SHOW);
ShellExecute(NULL, L"open", ConvertUTF8ToWString(g_Config.memCardDirectory).c_str(), 0, 0, SW_SHOW);
break;
case ID_TOGGLE_PAUSE: