diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-12 04:15:51 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-25 02:13:33 +0100 |
commit | 7f4165fc056261820fe760629e6ac7b1f27de003 (patch) | |
tree | 08280fbbb370fd0a3af1282229ff3a84b8081d49 /src/core/hle/service/vi/vi_m.cpp | |
parent | hle: nvflinger: Add implementation for HosBinderDriverServer service. (diff) | |
download | yuzu-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 'src/core/hle/service/vi/vi_m.cpp')
-rw-r--r-- | src/core/hle/service/vi/vi_m.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/vi_m.cpp b/src/core/hle/service/vi/vi_m.cpp index 87db1c416..be0255f3d 100644 --- a/src/core/hle/service/vi/vi_m.cpp +++ b/src/core/hle/service/vi/vi_m.cpp @@ -8,8 +8,10 @@ namespace Service::VI { -VI_M::VI_M(Core::System& system_, NVFlinger::NVFlinger& nv_flinger_) - : ServiceFramework{system_, "vi:m"}, nv_flinger{nv_flinger_} { +VI_M::VI_M(Core::System& system_, NVFlinger::NVFlinger& nv_flinger_, + NVFlinger::HosBinderDriverServer& hos_binder_driver_server_) + : ServiceFramework{system_, "vi:m"}, nv_flinger{nv_flinger_}, hos_binder_driver_server{ + hos_binder_driver_server_} { static const FunctionInfo functions[] = { {2, &VI_M::GetDisplayService, "GetDisplayService"}, {3, nullptr, "GetDisplayServiceWithProxyNameExchange"}, @@ -22,7 +24,8 @@ VI_M::~VI_M() = default; void VI_M::GetDisplayService(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_VI, "called"); - detail::GetDisplayServiceImpl(ctx, system, nv_flinger, Permission::Manager); + detail::GetDisplayServiceImpl(ctx, system, nv_flinger, hos_binder_driver_server, + Permission::Manager); } } // namespace Service::VI |