diff options
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index eb1138313..ab3286db9 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -49,6 +49,7 @@ | |||
| 49 | #include "core/hle/service/npns/npns.h" | 49 | #include "core/hle/service/npns/npns.h" |
| 50 | #include "core/hle/service/ns/ns.h" | 50 | #include "core/hle/service/ns/ns.h" |
| 51 | #include "core/hle/service/nvdrv/nvdrv.h" | 51 | #include "core/hle/service/nvdrv/nvdrv.h" |
| 52 | #include "core/hle/service/nvflinger/hos_binder_driver_server.h" | ||
| 52 | #include "core/hle/service/nvflinger/nvflinger.h" | 53 | #include "core/hle/service/nvflinger/nvflinger.h" |
| 53 | #include "core/hle/service/olsc/olsc.h" | 54 | #include "core/hle/service/olsc/olsc.h" |
| 54 | #include "core/hle/service/pcie/pcie.h" | 55 | #include "core/hle/service/pcie/pcie.h" |
| @@ -230,7 +231,8 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::KServerSession& sessi | |||
| 230 | 231 | ||
| 231 | /// Initialize Services | 232 | /// Initialize Services |
| 232 | Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) | 233 | Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) |
| 233 | : nv_flinger{std::make_unique<NVFlinger::NVFlinger>(system)} { | 234 | : hos_binder_driver_server{std::make_unique<NVFlinger::HosBinderDriverServer>(system)}, |
| 235 | nv_flinger{std::make_unique<NVFlinger::NVFlinger>(system, *hos_binder_driver_server)} { | ||
| 234 | 236 | ||
| 235 | // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it | 237 | // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it |
| 236 | // here and pass it into the respective InstallInterfaces functions. | 238 | // here and pass it into the respective InstallInterfaces functions. |
| @@ -290,7 +292,7 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system | |||
| 290 | SSL::InstallInterfaces(*sm, system); | 292 | SSL::InstallInterfaces(*sm, system); |
| 291 | Time::InstallInterfaces(system); | 293 | Time::InstallInterfaces(system); |
| 292 | USB::InstallInterfaces(*sm, system); | 294 | USB::InstallInterfaces(*sm, system); |
| 293 | VI::InstallInterfaces(*sm, system, *nv_flinger); | 295 | VI::InstallInterfaces(*sm, system, *nv_flinger, *hos_binder_driver_server); |
| 294 | WLAN::InstallInterfaces(*sm, system); | 296 | WLAN::InstallInterfaces(*sm, system); |
| 295 | } | 297 | } |
| 296 | 298 | ||