Commit 6cb3d0fb authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winebus.sys: Don't return too early if SDL initialization succeeds.

parent 95d26736
......@@ -559,7 +559,10 @@ static NTSTATUS fdo_pnp_dispatch(DEVICE_OBJECT *device, IRP *irp)
if (check_bus_option(&SDL_enabled, 1))
{
if (sdl_driver_init() == STATUS_SUCCESS)
return STATUS_SUCCESS;
{
irp->IoStatus.u.Status = STATUS_SUCCESS;
break;
}
}
udev_driver_init();
iohid_driver_init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment