update input qt

This commit is contained in:
Logan McNaughton
2021-05-31 10:55:02 -06:00
parent 2b81327ebc
commit b4206ebe11
2 changed files with 3 additions and 2 deletions
@@ -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)
{