Merge pull request #5478 from driver1998/loadlibrarya

win_dynld: use LoadLibraryA specifically
This commit is contained in:
Miran Grča
2025-04-17 21:32:25 +02:00
committed by GitHub

View File

@@ -51,7 +51,7 @@ dynld_module(const char *name, dllimp_t *table)
void *func;
/* See if we can load the desired module. */
if ((h = LoadLibrary(name)) == NULL) {
if ((h = LoadLibraryA(name)) == NULL) {
dynld_log("DynLd(\"%s\"): library not found! (%08X)\n", name, GetLastError());
return (NULL);
}