aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am/tcap.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-21 16:48:58 -0400
committerLioncash <mathew1800@gmail.com>2018-10-21 16:50:17 -0400
commit5ea4cfd4995e3186024b650cc730a7da5e423dd1 (patch)
tree58aa68ac338ef5cf0f607d69019b8ee50ccbc37d /src/core/hle/service/am/tcap.cpp
parentedb1c36a871154252e0c8a639083ec25c57395ef (diff)
am: Add the basic skeleton for the tcap service
Added based off information provided by Switchbrew.
Diffstat (limited to 'src/core/hle/service/am/tcap.cpp')
-rw-r--r--src/core/hle/service/am/tcap.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/hle/service/am/tcap.cpp b/src/core/hle/service/am/tcap.cpp
new file mode 100644
index 000000000..a75cbdda8
--- /dev/null
+++ b/src/core/hle/service/am/tcap.cpp
@@ -0,0 +1,23 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "core/hle/service/am/tcap.h"
+
+namespace Service::AM {
+
+TCAP::TCAP() : ServiceFramework{"tcap"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "GetContinuousHighSkinTemperatureEvent"},
+ {1, nullptr, "SetOperationMode"},
+ {2, nullptr, "LoadAndApplySettings"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+TCAP::~TCAP() = default;
+
+} // namespace Service::AM