summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-03-31 01:09:28 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-03-31 01:09:28 +0200
commitc04e65c254bcafd9643fb78727e85e6807431b4a (patch)
treed371389311f99c74182aeeda677b687f2556b427 /src
parentMerge pull request #8038 from liamwhite/exit-register-detection (diff)
downloadyuzu-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')
-rw-r--r--src/core/hle/service/hid/hid.cpp4
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)