summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-07 20:59:01 -0800
committerGitHub <noreply@github.com>2018-11-07 20:59:01 -0800
commit0e05a9d58f333175db0aee5290f38c6f138eabcb (patch)
tree3ffb66f4ea2e8f44cd3b3ca4053e04c2dcfd20fe /src
parent581406af187980dd5aa7e1ae282319473cf0feb5 (diff)
parenta9c25ab9e4cd02301b394aba40c974936c2d78b3 (diff)
Merge pull request #1658 from ogniK5377/holdtype-style
Updated npad styles on holdtype switches
Diffstat (limited to 'src')
-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 {
}
void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) {
+ styleset_changed_event->Signal();
hold_type = joy_hold_type;
}
+
Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const {
return hold_type;
}