aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ir/ir_rst.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-07 23:01:07 -0400
committerbunnei <bunneidev@gmail.com>2015-04-07 23:01:07 -0400
commite630fd2a95f01284b0e19adaae49bd0db1ebbbe3 (patch)
tree6dbc12a2fa1ffc283f1a27f80275a87a9aeac2be /src/core/hle/service/ir/ir_rst.cpp
parent11bd6024fb2d09b11df3ef12f7188a5b3be5c577 (diff)
parentd6c9af600fba67de7efaa1128b000a06c3b6f230 (diff)
Merge pull request #676 from purpasmart96/ir_service_refc
IR: Move The IR services to their own folder and implement "GetHandles"
Diffstat (limited to 'src/core/hle/service/ir/ir_rst.cpp')
-rw-r--r--src/core/hle/service/ir/ir_rst.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hle/service/ir/ir_rst.cpp b/src/core/hle/service/ir/ir_rst.cpp
new file mode 100644
index 000000000..96ae63420
--- /dev/null
+++ b/src/core/hle/service/ir/ir_rst.cpp
@@ -0,0 +1,24 @@
+// Copyright 2015 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "core/hle/hle.h"
+#include "core/hle/service/ir/ir.h"
+#include "core/hle/service/ir/ir_rst.h"
+
+namespace Service {
+namespace IR {
+
+const Interface::FunctionInfo FunctionTable[] = {
+ {0x00010000, GetHandles, "GetHandles"},
+ {0x00020080, nullptr, "Initialize"},
+ {0x00030000, nullptr, "Shutdown"},
+ {0x00090000, nullptr, "WriteToTwoFields"},
+};
+
+IR_RST_Interface::IR_RST_Interface() {
+ Register(FunctionTable);
+}
+
+} // namespace IR
+} // namespace Service