summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-11-07 20:59:01 -0800
committerGravatar GitHub2018-11-07 20:59:01 -0800
commit0e05a9d58f333175db0aee5290f38c6f138eabcb (patch)
tree3ffb66f4ea2e8f44cd3b3ca4053e04c2dcfd20fe
parentsvcBreak now dumps information from the debug buffer passed (#1646) (diff)
parentUpdated npad styles on holdtype switches (diff)
downloadyuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.gz
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.tar.xz
yuzu-0e05a9d58f333175db0aee5290f38c6f138eabcb.zip
Merge pull request #1658 from ogniK5377/holdtype-style
Updated npad styles on holdtype switches
-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}