diff options
| author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-09-22 10:06:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-22 10:06:48 -0400 |
| commit | b835d7631102fbf2a20e916d06e9a672425f3dbf (patch) | |
| tree | a238cb84cbbbdf1b048e3478c76fb3f36a72a1b9 /src/core/hle/service/hid/hid.cpp | |
| parent | b7725812ac2b0a77944b1096abc55156442a55b9 (diff) | |
| parent | 59fd910355c845c6594ce5c9339c1af7f0be7585 (diff) | |
Merge pull request #2876 from ogniK5377/AcquireNpadStyleSetUpdateEventHandle-fix
AcquireNpadStyleSetUpdateEventHandle should have a separate event for each controller type
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 |
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 33145b891..8d76ba746 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -480,7 +480,7 @@ void Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 1}; rb.Push(RESULT_SUCCESS); rb.PushCopyObjects(applet_resource->GetController<Controller_NPad>(HidController::NPad) - .GetStyleSetChangedEvent()); + .GetStyleSetChangedEvent(npad_id)); } void Hid::DisconnectNpad(Kernel::HLERequestContext& ctx) { |
