summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar VolcaEM2020-06-29 04:21:10 +0200
committerGravatar GitHub2020-06-29 04:21:10 +0200
commitf3630a07133d9f40860da0c54b664759f83d14ac (patch)
tree9b68a1b48748f42ffff2709f83d6b6ed7c7cc9d7
parentFix typo (diff)
downloadyuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.gz
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.tar.xz
yuzu-f3630a07133d9f40860da0c54b664759f83d14ac.zip
Use decimal instead of hexadecimal
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
-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) {
50// https://switchbrew.org/wiki/IPC_Marshalling 50// https://switchbrew.org/wiki/IPC_Marshalling
51Controller::Controller() : ServiceFramework("IpcController") { 51Controller::Controller() : ServiceFramework("IpcController") {
52 static const FunctionInfo functions[] = { 52 static const FunctionInfo functions[] = {
53 {0x00000000, &Controller::ConvertCurrentObjectToDomain, "ConvertCurrentObjectToDomain"}, 53 {0, &Controller::ConvertCurrentObjectToDomain, "ConvertCurrentObjectToDomain"},
54 {0x00000001, nullptr, "CopyFromCurrentDomain"}, 54 {1, nullptr, "CopyFromCurrentDomain"},
55 {0x00000002, &Controller::CloneCurrentObject, "CloneCurrentObject"}, 55 {2, &Controller::CloneCurrentObject, "CloneCurrentObject"},
56 {3, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"},
57 {4, &Controller::CloneCurrentObjectEx, "CloneCurrentObjectEx"},
56 {0x00000003, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"}, 58 {0x00000003, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"},
57 {0x00000004, &Controller::CloneCurrentObjectEx, "CloneCurrentObjectEx"}, 59 {0x00000004, &Controller::CloneCurrentObjectEx, "CloneCurrentObjectEx"},
58 }; 60 };