# HG changeset patch # User alex # Date 1019405502 0 # Node ID c6a76d35f3b13d5a9368d2734808f76d07e73886 # Parent 97de70b5377f5d749bf3db52d51dce68a1ee5606 ugly hack for morgands diff -r 97de70b5377f -r c6a76d35f3b1 loader/module.c --- a/loader/module.c Sun Apr 21 16:10:50 2002 +0000 +++ b/loader/module.c Sun Apr 21 16:11:42 2002 +0000 @@ -405,7 +405,14 @@ 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; }