diff options
author | Liam <byteslice@airmail.cc> | 2024-02-14 22:29:24 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 00:01:41 +0100 |
commit | dcce9837d240fa2492f29e5ae2649085ae8f711c (patch) | |
tree | 8a93012b952276e29fa63490b4183a57cf346878 /src/core/hle/service/vi/service_creator.cpp | |
parent | nvnflinger: convert to process (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/hle/service/vi/service_creator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/service_creator.cpp b/src/core/hle/service/vi/service_creator.cpp index 594e57398..414bd6655 100644 --- a/src/core/hle/service/vi/service_creator.cpp +++ b/src/core/hle/service/vi/service_creator.cpp @@ -23,7 +23,8 @@ static bool IsValidServiceAccess(Permission permission, Policy policy) { Result GetApplicationDisplayService( std::shared_ptr<IApplicationDisplayService>* out_application_display_service, Core::System& system, std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service, - Permission permission, Policy policy) { + std::shared_ptr<FbshareBufferManager> shared_buffer_manager, Permission permission, + Policy policy) { if (!IsValidServiceAccess(permission, policy)) { LOG_ERROR(Service_VI, "Permission denied for policy {}", policy); @@ -31,7 +32,7 @@ Result GetApplicationDisplayService( } *out_application_display_service = - std::make_shared<IApplicationDisplayService>(system, binder_service); + std::make_shared<IApplicationDisplayService>(system, binder_service, shared_buffer_manager); R_SUCCEED(); } |