changeset 12422:ef68b86beaf4

Support vp6vfw.dll version 6.0.7.3
author rtognimp
date Tue, 04 May 2004 21:20:58 +0000
parents faa6627eb4bf
children 22448c365725
files loader/module.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/module.c	Tue May 04 20:05:59 2004 +0000
+++ b/loader/module.c	Tue May 04 21:20:58 2004 +0000
@@ -449,6 +449,11 @@
             for (i=0;i<6;i++) ((char*)0x10007688)[i]=0x90;
             for (i=0;i<6;i++) ((char*)0x100082c3)[i]=0x90;
             for (i=0;i<6;i++) ((char*)0x100084aa)[i]=0x90;
+          } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==(void*)0x10003e70) {
+            // looks like VP 6.0.7.3
+            for (i=0;i<6;i++) ((char*)0x10007559)[i]=0x90;
+            for (i=0;i<6;i++) ((char*)0x100081c3)[i]=0x90;
+            for (i=0;i<6;i++) ((char*)0x1000839e)[i]=0x90;
           } else {
             fprintf(stderr, "Unsupported VP6 version\n");
             return 0;