summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader/win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/win32.c b/loader/win32.c
index a32fdf26d3..d36f1635f2 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -5089,7 +5089,10 @@ void* LookupExternal(const char* library, int ordinal)
}
}
-#ifdef LOADLIB_TRY_NATIVE
+#ifndef LOADLIB_TRY_NATIVE
+ /* hack for truespeech */
+ if (!strcmp(library, "tsd32.dll"))
+#endif
/* ok, this is a hack, and a big memory leak. should be fixed. - alex */
{
int hand;
@@ -5117,7 +5120,6 @@ void* LookupExternal(const char* library, int ordinal)
hand, func);
return func;
}
-#endif
no_dll:
if(pos>150)return 0;