summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/grc
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-26 15:25:54 +0200
committerLioncash <mathew1800@gmail.com>2018-07-26 15:53:58 +0200
commitb28af1f6c9d66cdbfbd0982f3de5aabac94cf660 (patch)
treea251f441d53c683eecb9535536dfbebfae687ee6 /src/core/hle/service/grc
parentMerge pull request #828 from lioncash/ldr (diff)
downloadyuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar.gz
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar.bz2
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar.lz
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar.xz
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.tar.zst
yuzu-b28af1f6c9d66cdbfbd0982f3de5aabac94cf660.zip
Diffstat (limited to 'src/core/hle/service/grc')
-rw-r--r--src/core/hle/service/grc/grc.cpp31
-rw-r--r--src/core/hle/service/grc/grc.h15
2 files changed, 46 insertions, 0 deletions
diff --git a/src/core/hle/service/grc/grc.cpp b/src/core/hle/service/grc/grc.cpp
new file mode 100644
index 000000000..24910ac6c
--- /dev/null
+++ b/src/core/hle/service/grc/grc.cpp
@@ -0,0 +1,31 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include <memory>
+
+#include "core/hle/service/grc/grc.h"
+#include "core/hle/service/service.h"
+#include "core/hle/service/sm/sm.h"
+
+namespace Service::GRC {
+
+class GRC final : public ServiceFramework<GRC> {
+public:
+ explicit GRC() : ServiceFramework{"grc:c"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {1, nullptr, "OpenContinuousRecorder"},
+ {2, nullptr, "OpenGameMovieTrimmer"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+};
+
+void InstallInterfaces(SM::ServiceManager& sm) {
+ std::make_shared<GRC>()->InstallAsService(sm);
+}
+
+} // namespace Service::GRC
diff --git a/src/core/hle/service/grc/grc.h b/src/core/hle/service/grc/grc.h
new file mode 100644
index 000000000..e0d29e70d
--- /dev/null
+++ b/src/core/hle/service/grc/grc.h
@@ -0,0 +1,15 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+namespace Service::SM {
+class ServiceManager;
+}
+
+namespace Service::GRC {
+
+void InstallInterfaces(SM::ServiceManager& sm);
+
+} // namespace Service::GRC