mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Cleanup
This commit is contained in:
1 parent
5a82e58564
commit
d523005c2b
2 files changed
+2
-4
No files matched your search
@@ -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