summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/application_root_service.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-14 22:29:24 +0100
committerLiam <byteslice@airmail.cc>2024-02-18 00:01:41 +0100
commitdcce9837d240fa2492f29e5ae2649085ae8f711c (patch)
tree8a93012b952276e29fa63490b4183a57cf346878 /src/core/hle/service/vi/application_root_service.cpp
parentnvnflinger: convert to process (diff)
downloadyuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.gz
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.bz2
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.lz
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.xz
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.zst
yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.zip
Diffstat (limited to 'src/core/hle/service/vi/application_root_service.cpp')
-rw-r--r--src/core/hle/service/vi/application_root_service.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/application_root_service.cpp b/src/core/hle/service/vi/application_root_service.cpp
index 501fbdd6a..ed8c9b1b3 100644
--- a/src/core/hle/service/vi/application_root_service.cpp
+++ b/src/core/hle/service/vi/application_root_service.cpp
@@ -11,8 +11,10 @@
namespace Service::VI {
IApplicationRootService::IApplicationRootService(
- Core::System& system_, std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service)
- : ServiceFramework{system_, "vi:u"}, m_binder_service{std::move(binder_service)} {
+ Core::System& system_, std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service,
+ std::shared_ptr<FbshareBufferManager> shared_buffer_manager)
+ : ServiceFramework{system_, "vi:u"}, m_binder_service{std::move(binder_service)},
+ m_shared_buffer_manager{std::move(shared_buffer_manager)} {
static const FunctionInfo functions[] = {
{0, C<&IApplicationRootService::GetDisplayService>, "GetDisplayService"},
{1, nullptr, "GetDisplayServiceWithProxyNameExchange"},
@@ -26,7 +28,7 @@ Result IApplicationRootService::GetDisplayService(
Out<SharedPointer<IApplicationDisplayService>> out_application_display_service, Policy policy) {
LOG_DEBUG(Service_VI, "called");
R_RETURN(GetApplicationDisplayService(out_application_display_service, system, m_binder_service,
- Permission::User, policy));
+ m_shared_buffer_manager, Permission::User, policy));
}
} // namespace Service::VI