diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-22 05:48:17 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-09-24 04:14:37 +0200 |
commit | 0993c71335a13bae9bdbacde30355b5b6194c8d2 (patch) | |
tree | 8f0beca6ee3e6df7adf64db7fc16dd616e52c1c0 /src/core/hle/service/hid/controllers | |
parent | service: am: Stub to exit applet cleanly (diff) | |
download | yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.gz yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.bz2 yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.lz yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.xz yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.tar.zst yuzu-0993c71335a13bae9bdbacde30355b5b6194c8d2.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 146bb486d..bc822f19e 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -346,6 +346,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) { } SignalStyleSetChangedEvent(npad_id); WriteEmptyEntry(controller.shared_memory); + hid_core.SetLastActiveController(npad_id); } void Controller_NPad::OnInit() { |