summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-09 17:47:05 +0100
committerGitHub <noreply@github.com>2024-02-09 17:47:05 +0100
commit2ad8d614b50b7ee07917e868a2ed5aa3579c76d8 (patch)
tree9e74a7106a206900e6e216b56abc9cbdfbcea08c /src/core/hle
parentMerge pull request #12967 from german77/let_me_out (diff)
parentservice: hid: Free npad applet resource (diff)
downloadyuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar.gz
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar.bz2
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar.lz
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar.xz
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.tar.zst
yuzu-2ad8d614b50b7ee07917e868a2ed5aa3579c76d8.zip
Diffstat (limited to 'src/core/hle')
-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);