summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi_m.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-08 03:27:58 +0100
committerbunnei <bunneidev@gmail.com>2018-01-11 05:28:09 +0100
commit25f29c2f4fd2415373f8af24fb61142ab4b343e6 (patch)
treed20a1c7c41051f37183b2d095f2edb34ea8a207b /src/core/hle/service/vi/vi_m.cpp
parentNV: Implemented the nvdrv:a service and the /dev/nvmap device. (diff)
downloadyuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.gz
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.bz2
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.lz
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.xz
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.zst
yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.zip
Diffstat (limited to 'src/core/hle/service/vi/vi_m.cpp')
-rw-r--r--src/core/hle/service/vi/vi_m.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi_m.cpp b/src/core/hle/service/vi/vi_m.cpp
new file mode 100644
index 000000000..a883ba572
--- /dev/null
+++ b/src/core/hle/service/vi/vi_m.cpp
@@ -0,0 +1,29 @@
+// Copyright 2018 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "common/logging/log.h"
+#include "core/hle/ipc_helpers.h"
+#include "core/hle/service/vi/vi.h"
+#include "core/hle/service/vi/vi_m.h"
+
+namespace Service {
+namespace VI {
+
+void VI_M::GetDisplayService(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service, "(STUBBED) called");
+
+ IPC::RequestBuilder rb{ctx, 2, 0, 0, 1};
+ rb.PushIpcInterface<IApplicationDisplayService>();
+}
+
+VI_M::VI_M() : ServiceFramework("vi:m") {
+ static const FunctionInfo functions[] = {
+ {2, &VI_M::GetDisplayService, "GetDisplayService"},
+ {3, nullptr, "GetDisplayServiceWithProxyNameExchange"},
+ };
+ RegisterHandlers(functions);
+}
+
+} // namespace VI
+} // namespace Service