diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-08 04:10:15 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-08 04:11:39 +0100 |
commit | c27006e99d8cba4386a88b3fe5141eac7ef7deeb (patch) | |
tree | 7ade383c8045fd7e1ac42a4ffdcedcf57737a024 /src/core/hle/service/hid/hid.cpp | |
parent | Merge pull request #4949 from Morph1984/hidpi-temp-fix (diff) | |
download | yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar.gz yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar.bz2 yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar.lz yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar.xz yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.tar.zst yuzu-c27006e99d8cba4386a88b3fe5141eac7ef7deeb.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index f15f1a6bb..ac2c0c76d 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -1025,13 +1025,13 @@ void Hid::SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const auto applet_resource_user_id{rp.Pop<u64>()}; - applet_resource->GetController<Controller_NPad>(HidController::NPad) - .SetSupportedNpadIdTypes(ctx.ReadBuffer()); + const auto result = applet_resource->GetController<Controller_NPad>(HidController::NPad) + .SetSupportedNpadIdTypes(ctx.ReadBuffer()); LOG_DEBUG(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id); IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(ResultSuccess); + rb.Push(result); } void Hid::ActivateNpad(Kernel::HLERequestContext& ctx) { |