diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-03-31 01:09:28 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-03-31 01:09:28 +0200 |
commit | c04e65c254bcafd9643fb78727e85e6807431b4a (patch) | |
tree | d371389311f99c74182aeeda677b687f2556b427 /src/core/hle/service | |
parent | Merge pull request #8038 from liamwhite/exit-register-detection (diff) | |
download | yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar.gz yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar.bz2 yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar.lz yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar.xz yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.tar.zst yuzu-c04e65c254bcafd9643fb78727e85e6807431b4a.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index d9202ea6c..b2cec2253 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -878,6 +878,10 @@ void Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_HID, "called, npad_id={}, applet_resource_user_id={}, unknown={}", parameters.npad_id, parameters.applet_resource_user_id, parameters.unknown); + // Games expect this event to be signaled after calling this function + applet_resource->GetController<Controller_NPad>(HidController::NPad) + .SignalStyleSetChangedEvent(parameters.npad_id); + IPC::ResponseBuilder rb{ctx, 2, 1}; rb.Push(ResultSuccess); rb.PushCopyObjects(applet_resource->GetController<Controller_NPad>(HidController::NPad) |