mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 04:35:29 +02:00
Cleanup, confine g_controllerMap access to KeyMap.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user