changeset 3440:03caf0beaecc

kernel32 hack for vivo audio
author arpi
date Mon, 10 Dec 2001 19:15:45 +0000
parents 192449c155c7
children 9fec5bdfe06b
files loader/win32.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Mon Dec 10 17:48:09 2001 +0000
+++ b/loader/win32.c	Mon Dec 10 19:15:45 2001 +0000
@@ -2154,8 +2154,8 @@
     if(strncmp(name, ".\\", 2)==0) name += 2;
 
     dbgprintf("Entering LoadLibraryA(%s)\n", name);
-    // PIMJ is loading  kernel32.dll
-    if (strcasecmp(name, "kernel32.dll") == 0)
+    // PIMJ and VIVO audio are loading  kernel32.dll
+    if (strcasecmp(name, "kernel32.dll") == 0 || strcasecmp(name, "kernel32") == 0)
 	return MODULE_HANDLE_kernel32;
 
     result=LoadLibraryA(name);