summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-17 20:41:43 +0100
committerbunnei <bunneidev@gmail.com>2018-01-18 03:48:17 +0100
commit6a36ffb86c78832f5ea00701baae61a489d54a7d (patch)
tree1c61a44dca0c5d8f30e425568edcdcde47a96738 /src/core/hle/service
parentMerge pull request #83 from lioncash/pessimizing-move (diff)
downloadyuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar.gz
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar.bz2
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar.lz
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar.xz
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.tar.zst
yuzu-6a36ffb86c78832f5ea00701baae61a489d54a7d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/sm/controller.cpp8
-rw-r--r--src/core/hle/service/sm/controller.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp
index e8f5d0e4a..7b1c8ee37 100644
--- a/src/core/hle/service/sm/controller.cpp
+++ b/src/core/hle/service/sm/controller.cpp
@@ -32,6 +32,12 @@ void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service, "called");
}
+void Controller::DuplicateSessionEx(Kernel::HLERequestContext& ctx) {
+ DuplicateSession(ctx);
+
+ LOG_WARNING(Service, "(STUBBED) called, using DuplicateSession");
+}
+
void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
IPC::RequestBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
@@ -46,7 +52,7 @@ Controller::Controller() : ServiceFramework("IpcController") {
{0x00000001, nullptr, "ConvertDomainToSession"},
{0x00000002, &Controller::DuplicateSession, "DuplicateSession"},
{0x00000003, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"},
- {0x00000004, nullptr, "DuplicateSessionEx"},
+ {0x00000004, &Controller::DuplicateSessionEx, "DuplicateSessionEx"},
};
RegisterHandlers(functions);
}
diff --git a/src/core/hle/service/sm/controller.h b/src/core/hle/service/sm/controller.h
index 0b873b492..7b4bc4b75 100644
--- a/src/core/hle/service/sm/controller.h
+++ b/src/core/hle/service/sm/controller.h
@@ -17,6 +17,7 @@ public:
private:
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
void DuplicateSession(Kernel::HLERequestContext& ctx);
+ void DuplicateSessionEx(Kernel::HLERequestContext& ctx);
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
};