summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolcaEM <63682805+VolcaEM@users.noreply.github.com>2020-06-29 04:21:10 +0200
committerGitHub <noreply@github.com>2020-06-29 04:21:10 +0200
commitf3630a07133d9f40860da0c54b664759f83d14ac (patch)
tree9b68a1b48748f42ffff2709f83d6b6ed7c7cc9d7 /src
parentFix typo (diff)
downloadyuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.gz
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.bz2
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.lz
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.xz
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.zst
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sm/controller.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp
index 25ab667f3..cccccc30a 100644
--- a/src/core/hle/service/sm/controller.cpp
+++ b/src/core/hle/service/sm/controller.cpp
@@ -50,9 +50,11 @@ void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
// https://switchbrew.org/wiki/IPC_Marshalling
Controller::Controller() : ServiceFramework("IpcController") {
static const FunctionInfo functions[] = {
- {0x00000000, &Controller::ConvertCurrentObjectToDomain, "ConvertCurrentObjectToDomain"},
- {0x00000001, nullptr, "CopyFromCurrentDomain"},
- {0x00000002, &Controller::CloneCurrentObject, "CloneCurrentObject"},
+ {0, &Controller::ConvertCurrentObjectToDomain, "ConvertCurrentObjectToDomain"},
+ {1, nullptr, "CopyFromCurrentDomain"},
+ {2, &Controller::CloneCurrentObject, "CloneCurrentObject"},
+ {3, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"},
+ {4, &Controller::CloneCurrentObjectEx, "CloneCurrentObjectEx"},
{0x00000003, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"},
{0x00000004, &Controller::CloneCurrentObjectEx, "CloneCurrentObjectEx"},
};