ntdll: Ignore the preload start address if it is zero.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fb8226f639
commit
0374d86c57
|
@ -1597,6 +1597,7 @@ 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 */
|
/* some apps start inside the DOS area */
|
||||||
|
if (preload_reserve_start)
|
||||||
address_space_start = min( address_space_start, preload_reserve_start );
|
address_space_start = min( address_space_start, preload_reserve_start );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue