mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
Bugfix: *Don't* resolve PE imports if asked not to ...
This commit is contained in:
parent
9f14ca6360
commit
8c32184814
@ -835,9 +835,10 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule,
|
||||
|
||||
/* Fixup Imports */
|
||||
|
||||
if ( pe_import && fixup_imports( wm )
|
||||
if ( pe_import
|
||||
&& !( wm->flags & WINE_MODREF_LOAD_AS_DATAFILE )
|
||||
&& !( wm->flags & WINE_MODREF_DONT_RESOLVE_REFS ) )
|
||||
&& !( wm->flags & WINE_MODREF_DONT_RESOLVE_REFS )
|
||||
&& fixup_imports( wm ) )
|
||||
{
|
||||
/* remove entry from modref chain */
|
||||
EnterCriticalSection( &PROCESS_Current()->crit_section );
|
||||
|
Loading…
Reference in New Issue
Block a user