aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-16 11:40:35 -0400
committerGitHub <noreply@github.com>2023-09-16 11:40:35 -0400
commitfe771b59f4b1d2bf30bfc665eef68518949fe7ad (patch)
treeec30d266f5f5e6f85ef137c9756c36b2523f78ab /src/core/hle/service/hid/hid.cpp
parentd26c76180d4c5b5324aa4fb53c86c1bf1a2d1436 (diff)
parent260bfc4bd245e8025c08922b6910039e9e6d242d (diff)
Merge pull request #11518 from german77/bad-npad
service: hid: Implement last active Npad and fix some errors.
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index fd466db7b..3657e61d3 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -2768,7 +2768,7 @@ private:
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.PushEnum(Core::HID::NpadIdType::Handheld);
+ rb.PushEnum(system.HIDCore().GetLastActiveController());
}
void GetUniquePadsFromNpad(HLERequestContext& ctx) {