changeset 10795:2ab9ab4f07b4

Support for QuickTime6.3 DLLs. Patch by Dima K. <dimakar@yahoo.com>
author mosu
date Tue, 02 Sep 2003 14:40:16 +0000
parents de288979415d
children 266bf4b596a3
files loader/module.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/module.c	Tue Sep 02 14:39:02 2003 +0000
+++ b/loader/module.c	Tue Sep 02 14:40:16 2003 +0000
@@ -467,6 +467,15 @@
 		for (i=0;i<5;i++)  ((char *)0x66a73122)[i]=0x90; // jmp_to_call_loadbitmap
 		for (i=0;i<9;i++)  ((char *)0x66a73131)[i]=0x90; // call__calls_OLE_shit
 		for (i=0;i<96;i++) ((char *)0x66aac852)[i]=0x90; // disable threads
+	    } else if (dispatch_addr == (void *)0x6693c3e0)
+	    {
+    		fprintf(stderr, "QuickTime6.3 DLLs found\n");
+		ptr = (void **)0x66bca01c; // dispatcher_ptr
+		for (i=0;i<5;i++)  ((char *)0x66a68f6c)[i]=0x90; // make_new_region
+		for (i=0;i<28;i++) ((char *)0x66a68f97)[i]=0x90; // call__call_CreateCompatibleDC
+		for (i=0;i<5;i++)  ((char *)0x66a68fc2)[i]=0x90; // jmp_to_call_loadbitmap
+		for (i=0;i<9;i++)  ((char *)0x66a68fd1)[i]=0x90; // call__calls_OLE_shit
+		for (i=0;i<96;i++) ((char *)0x66ab4722)[i]=0x90; // disable threads
 	    } else
 	    {
 	        fprintf(stderr, "Unsupported QuickTime version (%p)\n",