mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Reduce memory allocations during controller processing
This commit is contained in:
1 parent
9a276c6f97
commit
144ed7a3ab
2 files changed
+2
-3
No files matched your search
@@ -534,6 +534,7 @@ bool InputMappingsFromPspButton(int btn, std::vector<MultiInputMapping> *mapping
|
||||
return false;
|
||||
}
|
||||
bool mapped = false;
|
||||
mappings->clear();
|
||||
for (auto &iter2 : iter->second) {
|
||||
bool ignore = ignoreMouse && iter2.HasMouse();
|
||||
if (mappings && !ignore) {
|
||||
|
||||
Reference in new issue
Block a user