summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar David Marcec2018-11-08 01:07:14 +1100
committerGravatar David Marcec2018-11-08 01:07:14 +1100
commita9c25ab9e4cd02301b394aba40c974936c2d78b3 (patch)
tree91bf2466b07f672cde211002639ebdd3e5706429
parentMerge pull request #1630 from bunnei/fix-mapbufferex (diff)
downloadyuzu-a9c25ab9e4cd02301b394aba40c974936c2d78b3.tar.gz
yuzu-a9c25ab9e4cd02301b394aba40c974936c2d78b3.tar.xz
yuzu-a9c25ab9e4cd02301b394aba40c974936c2d78b3.zip
Updated npad styles on holdtype switches
Fixes input for megaman
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 1ef789bd0..ff9b64be4 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -392,8 +392,10 @@ std::size_t Controller_NPad::GetSupportedNPadIdTypesSize() const {
392} 392}
393 393
394void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) { 394void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) {
395 styleset_changed_event->Signal();
395 hold_type = joy_hold_type; 396 hold_type = joy_hold_type;
396} 397}
398
397Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const { 399Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const {
398 return hold_type; 400 return hold_type;
399} 401}