mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 08:14:45 +02:00
Cleanup
This commit is contained in:
@@ -298,11 +298,7 @@ bool ControlMapper::UpdatePSPState(const InputMapping &changedMapping) {
|
||||
// Note: This is an old problem, it didn't appear with the refactoring.
|
||||
if (!changedMapping.IsAxis()) {
|
||||
for (auto &multiMapping : inputMappings) {
|
||||
bool anyAxis = false;
|
||||
for (auto &mapping : multiMapping.mappings) {
|
||||
if (mapping.IsAxis()) {
|
||||
anyAxis = true;
|
||||
}
|
||||
curInput_[mapping] = ReduceMagnitude(curInput_[mapping]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user