diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-18 04:36:17 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-18 04:36:17 +0100 |
commit | 4a67a5b917d1cb3990bcd46f1f26fcade4efe471 (patch) | |
tree | f87dfaef4b59b7051ca19367fb8eef8cf3bf2707 | |
parent | Merge pull request #5360 from ReinUsesLisp/enforce-memclass-access (diff) | |
download | yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar.gz yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar.bz2 yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar.lz yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar.xz yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.tar.zst yuzu-4a67a5b917d1cb3990bcd46f1f26fcade4efe471.zip |
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 1082be489..ff783b3cc 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -892,7 +892,7 @@ void Controller_NPad::UpdateControllerAt(NPadControllerType controller, std::siz return; } - if (controller == NPadControllerType::Handheld) { + if (controller == NPadControllerType::Handheld && npad_index == HANDHELD_INDEX) { Settings::values.players.GetValue()[HANDHELD_INDEX].controller_type = MapNPadToSettingsType(controller); Settings::values.players.GetValue()[HANDHELD_INDEX].connected = true; |