Cleanup, confine g_controllerMap access to KeyMap.cpp
This commit is contained in:
parent
d523005c2b
commit
c1b5aed9b7
5 changed files with 46 additions and 23 deletions
|
@ -227,8 +227,6 @@ bool ControlMapper::UpdatePSPState(const InputMapping &changedMapping) {
|
|||
|
||||
// If a mapping could consist of a combo, we could trivially check it here.
|
||||
for (auto &multiMapping : inputMappings) {
|
||||
if (multiMapping.empty())
|
||||
continue;
|
||||
// Check if the changed mapping was involved in this PSP key.
|
||||
if (multiMapping.mappings.contains(changedMapping)) {
|
||||
changedButtonMask |= mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue