aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/pctl/module.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-29 00:58:46 -0500
committerGitHub <noreply@github.com>2018-11-29 00:58:46 -0500
commit1e49a85106acdc596db9d1aeca31104fab9552a2 (patch)
tree7e295e2921c61866371ac52d63a807782b1094b6 /src/core/hle/service/pctl/module.cpp
parent5a9a84994a31ab72d2caab752ee2a3d02afc8133 (diff)
parentcc4521fc703e39e216efd57481cb4dbc76778264 (diff)
Merge pull request #1801 from ogniK5377/log-before-execute
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
Diffstat (limited to 'src/core/hle/service/pctl/module.cpp')
-rw-r--r--src/core/hle/service/pctl/module.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp
index 4fd185f69..6081f41e1 100644
--- a/src/core/hle/service/pctl/module.cpp
+++ b/src/core/hle/service/pctl/module.cpp
@@ -114,29 +114,33 @@ public:
private:
void Initialize(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_PCTL, "(STUBBED) called");
+
IPC::ResponseBuilder rb{ctx, 2, 0, 0};
rb.Push(RESULT_SUCCESS);
}
void CheckFreeCommunicationPermission(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_PCTL, "(STUBBED) called");
+
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
};
void Module::Interface::CreateService(Kernel::HLERequestContext& ctx) {
+ LOG_DEBUG(Service_PCTL, "called");
+
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IParentalControlService>();
- LOG_DEBUG(Service_PCTL, "called");
}
void Module::Interface::CreateServiceWithoutInitialize(Kernel::HLERequestContext& ctx) {
+ LOG_DEBUG(Service_PCTL, "called");
+
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IParentalControlService>();
- LOG_DEBUG(Service_PCTL, "called");
}
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)