aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/vi/vi_s.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-26 17:49:32 -0500
committerLioncash <mathew1800@gmail.com>2019-02-26 20:16:23 -0500
commit92ea1c32d608cd258c3fc077f5aaf953536d7f45 (patch)
treea5a8bfa8c071f01f4c8cee5c9a2983a097c93f6d /src/core/hle/service/vi/vi_s.cpp
parent254b1e3df731dd47f73b9a0267bfb6b9858fd849 (diff)
service/vi: Unstub GetDisplayService
This function is also supposed to check its given policy type with the permission of the service itself. This implements the necessary machinery to unstub these functions. Policy::User seems to just be basic access (which is probably why vi:u is restricted to that policy), while the other policy seems to be for extended abilities regarding which displays can be managed and queried, so this is assumed to be for a background compositor (which I've named, appropriately, Policy::Compositor).
Diffstat (limited to 'src/core/hle/service/vi/vi_s.cpp')
-rw-r--r--src/core/hle/service/vi/vi_s.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi_s.cpp b/src/core/hle/service/vi/vi_s.cpp
index 6dd700eae..57c596cc4 100644
--- a/src/core/hle/service/vi/vi_s.cpp
+++ b/src/core/hle/service/vi/vi_s.cpp
@@ -20,9 +20,9 @@ VI_S::VI_S(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger)
VI_S::~VI_S() = default;
void VI_S::GetDisplayService(Kernel::HLERequestContext& ctx) {
- LOG_WARNING(Service_VI, "(STUBBED) called");
+ LOG_DEBUG(Service_VI, "called");
- detail::GetDisplayServiceImpl(ctx, nv_flinger);
+ detail::GetDisplayServiceImpl(ctx, nv_flinger, Permission::System);
}
} // namespace Service::VI