From 927569bed8439f5c6156d84d6f21ca621c7f3945 Mon Sep 17 00:00:00 2001 From: Subv Date: Mon, 8 Jan 2018 18:18:50 -0500 Subject: NV: Keep track of Displays, Layers and BufferQueues in nvflinger. --- src/core/hle/service/vi/vi_m.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/hle/service/vi/vi_m.cpp') diff --git a/src/core/hle/service/vi/vi_m.cpp b/src/core/hle/service/vi/vi_m.cpp index a883ba572..930f5e908 100644 --- a/src/core/hle/service/vi/vi_m.cpp +++ b/src/core/hle/service/vi/vi_m.cpp @@ -14,7 +14,7 @@ void VI_M::GetDisplayService(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service, "(STUBBED) called"); IPC::RequestBuilder rb{ctx, 2, 0, 0, 1}; - rb.PushIpcInterface(); + rb.PushIpcInterface(nv_flinger); } VI_M::VI_M() : ServiceFramework("vi:m") { @@ -23,6 +23,7 @@ VI_M::VI_M() : ServiceFramework("vi:m") { {3, nullptr, "GetDisplayServiceWithProxyNameExchange"}, }; RegisterHandlers(functions); + nv_flinger = std::make_shared(); } } // namespace VI -- cgit v1.2.3