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_u.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 '')
-rw-r--r-- | src/core/hle/service/vi/vi_u.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/vi_u.cpp b/src/core/hle/service/vi/vi_u.cpp index 0079d51f0..57c888313 100644 --- a/src/core/hle/service/vi/vi_u.cpp +++ b/src/core/hle/service/vi/vi_u.cpp @@ -8,8 +8,10 @@ namespace Service::VI { -VI_U::VI_U(Core::System& system_, NVFlinger::NVFlinger& nv_flinger_) - : ServiceFramework{system_, "vi:u"}, nv_flinger{nv_flinger_} { +VI_U::VI_U(Core::System& system_, NVFlinger::NVFlinger& nv_flinger_, + NVFlinger::HosBinderDriverServer& hos_binder_driver_server_) + : ServiceFramework{system_, "vi:u"}, nv_flinger{nv_flinger_}, hos_binder_driver_server{ + hos_binder_driver_server_} { static const FunctionInfo functions[] = { {0, &VI_U::GetDisplayService, "GetDisplayService"}, {1, nullptr, "GetDisplayServiceWithProxyNameExchange"}, @@ -22,7 +24,8 @@ VI_U::~VI_U() = default; void VI_U::GetDisplayService(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_VI, "called"); - detail::GetDisplayServiceImpl(ctx, system, nv_flinger, Permission::User); + detail::GetDisplayServiceImpl(ctx, system, nv_flinger, hos_binder_driver_server, + Permission::User); } } // namespace Service::VI |