summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ptm_play.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2015-01-19 00:20:28 +0100
committerarchshift <admin@archshift.com>2015-01-21 21:50:18 +0100
commit7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2 (patch)
tree6ce177eb4375ebcedcac221c4fb8086c8c55661b /src/core/hle/service/ptm_play.cpp
parentMerge pull request #429 from Kingcom/titlebar (diff)
downloadyuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar.gz
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar.bz2
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar.lz
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar.xz
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.tar.zst
yuzu-7516ceaf93cf416ade59dfb3b17d5ea4cdb57ef2.zip
Diffstat (limited to 'src/core/hle/service/ptm_play.cpp')
-rw-r--r--src/core/hle/service/ptm_play.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm_play.cpp b/src/core/hle/service/ptm_play.cpp
new file mode 100644
index 000000000..ae9e2925c
--- /dev/null
+++ b/src/core/hle/service/ptm_play.cpp
@@ -0,0 +1,28 @@
+// Copyright 2015 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "common/log.h"
+#include "core/hle/hle.h"
+#include "core/hle/service/ptm_play.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace PTM_PLAY
+
+namespace PTM_PLAY {
+
+const Interface::FunctionInfo FunctionTable[] = {
+ { 0x08070082, nullptr, "GetPlayHistory" },
+ { 0x08080000, nullptr, "GetPlayHistoryStart" },
+ { 0x08090000, nullptr, "GetPlayHistoryLength" },
+ { 0x080B0080, nullptr, "CalcPlayHistoryStart" },
+};
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Interface class
+
+Interface::Interface() {
+ Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+}
+
+} // namespace