mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 21:38:42 +01:00
update gui
This commit is contained in:
1 parent
efe33134c0
commit
b7acbf40c7
1 file changed
+3
-3
@@ -32,9 +32,9 @@ m64p_error osal_dynlib_open(m64p_dynlib_handle *pLibHandle, const char *pccLibra
|
||||
if (pLibHandle == NULL || pccLibraryPath == NULL)
|
||||
return M64ERR_INPUT_ASSERT;
|
||||
|
||||
wchar_t wstr[256];
|
||||
MultiByteToWideChar(CP_UTF8, 0, pccLibraryPath, -1, &wstr[0], 256);
|
||||
*pLibHandle = LoadLibrary(wstr);
|
||||
wchar_t wstr[1024];
|
||||
MultiByteToWideChar(CP_UTF8, 0, pccLibraryPath, -1, wstr, 1024);
|
||||
*pLibHandle = LoadLibraryW(wstr);
|
||||
|
||||
if (*pLibHandle == NULL)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user