summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-12 04:15:51 +0100
committerbunnei <bunneidev@gmail.com>2022-03-25 02:13:33 +0100
commit7f4165fc056261820fe760629e6ac7b1f27de003 (patch)
tree08280fbbb370fd0a3af1282229ff3a84b8081d49 /src/core/hle/service/service.cpp
parenthle: nvflinger: Add implementation for HosBinderDriverServer service. (diff)
downloadyuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.gz
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.bz2
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.lz
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.xz
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.zst
yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/service.cpp6
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 @@
#include "core/hle/service/npns/npns.h"
#include "core/hle/service/ns/ns.h"
#include "core/hle/service/nvdrv/nvdrv.h"
+#include "core/hle/service/nvflinger/hos_binder_driver_server.h"
#include "core/hle/service/nvflinger/nvflinger.h"
#include "core/hle/service/olsc/olsc.h"
#include "core/hle/service/pcie/pcie.h"
@@ -230,7 +231,8 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::KServerSession& sessi
/// Initialize Services
Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system)
- : nv_flinger{std::make_unique<NVFlinger::NVFlinger>(system)} {
+ : hos_binder_driver_server{std::make_unique<NVFlinger::HosBinderDriverServer>(system)},
+ nv_flinger{std::make_unique<NVFlinger::NVFlinger>(system, *hos_binder_driver_server)} {
// NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it
// here and pass it into the respective InstallInterfaces functions.
@@ -290,7 +292,7 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system
SSL::InstallInterfaces(*sm, system);
Time::InstallInterfaces(system);
USB::InstallInterfaces(*sm, system);
- VI::InstallInterfaces(*sm, system, *nv_flinger);
+ VI::InstallInterfaces(*sm, system, *nv_flinger, *hos_binder_driver_server);
WLAN::InstallInterfaces(*sm, system);
}