ntdll: Support loading binaries that start inside the DOS area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67826491a6
commit
a27f187503
@ -1593,6 +1593,8 @@ void virtual_init(void)
|
|||||||
{
|
{
|
||||||
preload_reserve_start = (void *)start;
|
preload_reserve_start = (void *)start;
|
||||||
preload_reserve_end = (void *)end;
|
preload_reserve_end = (void *)end;
|
||||||
|
/* some apps start inside the DOS area */
|
||||||
|
address_space_start = min( address_space_start, preload_reserve_start );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user