summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-09 01:11:56 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-02-09 01:50:54 +0100
commit0ac777460d8b4b3cd2b299c89ba2986f088d5e68 (patch)
treef0170dbd819fc95c104f22c51c5f4e4eb970852f /src/core/hle/service
parentMerge pull request #12903 from liamwhite/const-offset (diff)
downloadyuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.gz
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.bz2
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.lz
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.xz
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.tar.zst
yuzu-0ac777460d8b4b3cd2b299c89ba2986f088d5e68.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/hid/hid_system_server.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/service/hid/hid_system_server.cpp b/src/core/hle/service/hid/hid_system_server.cpp
index 22471e9e2..7126a1dcd 100644
--- a/src/core/hle/service/hid/hid_system_server.cpp
+++ b/src/core/hle/service/hid/hid_system_server.cpp
@@ -508,13 +508,8 @@ void IHidSystemServer::RegisterAppletResourceUserId(HLERequestContext& ctx) {
Result result = GetResourceManager()->RegisterAppletResourceUserId(
parameters.applet_resource_user_id, parameters.enable_input);
- if (result.IsSuccess()) {
- // result = GetResourceManager()->GetNpad()->RegisterAppletResourceUserId(
- // parameters.applet_resource_user_id);
- }
-
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultSuccess);
+ rb.Push(result);
}
void IHidSystemServer::UnregisterAppletResourceUserId(HLERequestContext& ctx) {
@@ -524,8 +519,6 @@ void IHidSystemServer::UnregisterAppletResourceUserId(HLERequestContext& ctx) {
LOG_INFO(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id);
GetResourceManager()->UnregisterAppletResourceUserId(applet_resource_user_id);
- // GetResourceManager()->GetNpad()->UnregisterAppletResourceUserId(applet_resource_user_id);
- // GetResourceManager()->GetPalma()->UnregisterAppletResourceUserId(applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);