diff options
Diffstat (limited to 'loader')
-rw-r--r-- | loader/module.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/loader/module.c b/loader/module.c index 2e38b66ea0..41393f5e34 100644 --- a/loader/module.c +++ b/loader/module.c @@ -405,7 +405,14 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) if (!wm) printf("Win32 LoadLibrary failed to load: %s\n", checked); - + else + { + extern char *win32_codec_name; + printf("Loaded %s to address %p\n", libname, wm->module); + /* XXX: FIXME, _VERY_ UGLY HACK */ + if (!strcmp(libname, "m3jpegdec.ax")) + win32_codec_name = strdup("m3jpeg32.dll"); + } return wm ? wm->module : 0; } |