aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/ldr_ro.cpp
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-12-14 22:49:33 -0800
committerGravatar archshift <admin@archshift.com>2014-12-15 15:32:42 -0800
commit6117fad03604dca573b5b19ebbb571a28df89421 (patch)
tree0ad72b604d37f002feb5a10ee5aa1e58dc777b03 /src/core/hle/service/ldr_ro.cpp
parent6b51683bb1e8772260a51a1bbf029fce773ecad8 (diff)
Added stub for ldr:ro service...
Diffstat (limited to 'src/core/hle/service/ldr_ro.cpp')
-rw-r--r--src/core/hle/service/ldr_ro.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/hle/service/ldr_ro.cpp b/src/core/hle/service/ldr_ro.cpp
new file mode 100644
index 00000000..91b1a6fc
--- /dev/null
+++ b/src/core/hle/service/ldr_ro.cpp
@@ -0,0 +1,28 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2+
+// Refer to the license.txt file included.
+
+#include "common/log.h"
+#include "core/hle/hle.h"
+#include "core/hle/service/ldr_ro.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace LDR_RO
+
+namespace LDR_RO {
+
+const Interface::FunctionInfo FunctionTable[] = {
+ {0x000100C2, nullptr, "Initialize"},
+ {0x00020082, nullptr, "CRR_Load"},
+ {0x00030042, nullptr, "CRR_Unload"},
+ {0x000402C2, nullptr, "CRO_LoadAndFix"},
+ {0x000500C2, nullptr, "CRO_ApplyRelocationPatchesAndLink"}
+};
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Interface class
+
+Interface::Interface() {
+ Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+}
+
+} // namespace