diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-02-26 17:49:32 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-02-26 20:16:23 -0500 |
| commit | 92ea1c32d608cd258c3fc077f5aaf953536d7f45 (patch) | |
| tree | a5a8bfa8c071f01f4c8cee5c9a2983a097c93f6d /src/core/hle/service/vi/vi_m.cpp | |
| parent | 254b1e3df731dd47f73b9a0267bfb6b9858fd849 (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_m.cpp')
| -rw-r--r-- | src/core/hle/service/vi/vi_m.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi_m.cpp b/src/core/hle/service/vi/vi_m.cpp index 6e3e0bd8f..06070087f 100644 --- a/src/core/hle/service/vi/vi_m.cpp +++ b/src/core/hle/service/vi/vi_m.cpp @@ -20,9 +20,9 @@ VI_M::VI_M(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger) VI_M::~VI_M() = default; void VI_M::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::Manager); } } // namespace Service::VI |
