Fixed missing initialisation of USBSubsystem for non-detached daemon
This commit is contained in:
parent
73f6ae59ad
commit
8c422b7301
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ Xboxdrv::run_daemon(const Options& opts)
|
||||||
|
|
||||||
if (!opts.detach)
|
if (!opts.detach)
|
||||||
{
|
{
|
||||||
|
USBSubsystem usb_subsystem;
|
||||||
XboxdrvDaemon daemon(opts);
|
XboxdrvDaemon daemon(opts);
|
||||||
daemon.run();
|
daemon.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue