Allow RELAY_SetupDLL to be called twice on the same dll.
This commit is contained in:
parent
d9339f83ec
commit
854e59d9ec
|
@ -755,8 +755,6 @@ void RELAY_SetupDLL( HMODULE module )
|
|||
debug->call = 0xe9; /* jmp relative */
|
||||
debug->callfrom32 = (char *)debug->orig - (char *)&debug->ret;
|
||||
}
|
||||
|
||||
debug->orig = (FARPROC)((char *)module + (DWORD)*funcs);
|
||||
*funcs = (char *)debug - (char *)module;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue