aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ptm_play.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-22 13:25:19 -0500
committerbunnei <bunneidev@gmail.com>2015-01-22 13:25:19 -0500
commit92550013cf316cd4ee631d11429bddb7ee0b5e94 (patch)
treedbe511b60590488f84cfb740ced8c99511568017 /src/core/hle/service/ptm_play.cpp
parent9f501c55f981c32df33ceb3813d8d72b392f4711 (diff)
parenta68dda632854986be612d9241cba7e2b48b008bf (diff)
Merge pull request #493 from archshift/ptmplay
Stubbed some services
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