ntdll: Don't try to convert module to 64-bit if it doesn't contain code.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50647 Signed-off-by: David Koolhoven <david@koolhoven-home.net> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fb9ec02e06
commit
4f7a4146cd
|
@ -1984,6 +1984,7 @@ static BOOL convert_to_pe64( HMODULE module, const SECTION_IMAGE_INFORMATION *in
|
|||
ULONG i, old_prot;
|
||||
|
||||
if (nt->OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR32_MAGIC) return TRUE; /* already 64-bit */
|
||||
if (!info->ImageContainsCode) return TRUE; /* no need to convert */
|
||||
|
||||
TRACE( "%p\n", module );
|
||||
|
||||
|
|
Loading…
Reference in New Issue