mirror of
https://github.com/simple64/simple64.git
synced 2026-09-07 04:42:43 +02:00
update input qt
This commit is contained in:
@@ -47,7 +47,6 @@ SOURCES += osal/osal_dynamiclib_win32.c
|
||||
}
|
||||
INCLUDEPATH += ../mupen64plus-win32-deps/SDL2-2.0.6/include
|
||||
} else {
|
||||
DEFINES -= UNICODE
|
||||
LIBS += -Wl,-Bdynamic -lSDL2
|
||||
INCLUDEPATH += /mingw64/include/SDL2 /mingw32/include/SDL2
|
||||
}
|
||||
|
||||
@@ -31,7 +31,9 @@ m64p_error osal_dynlib_open(m64p_dynlib_handle *pLibHandle, const char *pccLibra
|
||||
if (pLibHandle == NULL || pccLibraryPath == NULL)
|
||||
return M64ERR_INPUT_ASSERT;
|
||||
|
||||
*pLibHandle = LoadLibrary(pccLibraryPath);
|
||||
wchar_t wstr[256];
|
||||
mbstowcs(wstr, pccLibraryPath, 256);
|
||||
*pLibHandle = LoadLibrary(wstr);
|
||||
|
||||
if (*pLibHandle == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user