winebus.sys: Don't return too early if SDL initialization succeeds.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
95d267369a
commit
6cb3d0fb37
|
@ -559,7 +559,10 @@ static NTSTATUS fdo_pnp_dispatch(DEVICE_OBJECT *device, IRP *irp)
|
||||||
if (check_bus_option(&SDL_enabled, 1))
|
if (check_bus_option(&SDL_enabled, 1))
|
||||||
{
|
{
|
||||||
if (sdl_driver_init() == STATUS_SUCCESS)
|
if (sdl_driver_init() == STATUS_SUCCESS)
|
||||||
return STATUS_SUCCESS;
|
{
|
||||||
|
irp->IoStatus.u.Status = STATUS_SUCCESS;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
udev_driver_init();
|
udev_driver_init();
|
||||||
iohid_driver_init();
|
iohid_driver_init();
|
||||||
|
|
Loading…
Reference in New Issue