mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
This commit is contained in:
1 parent
5a0d54be83
commit
af41281761
43 files changed
+83
-83
No files matched your search
+1
-1
@@ -608,7 +608,7 @@ bool IsKeyMapped(InputDeviceID device, int key) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ReplaceSingleKeyMapping(int btn, int index, MultiInputMapping key) {
|
||||
bool ReplaceSingleKeyMapping(int btn, int index, const MultiInputMapping &key) {
|
||||
std::lock_guard<std::recursive_mutex> guard(g_controllerMapLock);
|
||||
// Check for duplicate
|
||||
for (int i = 0; i < (int)g_controllerMap[btn].size(); ++i) {
|
||||
|
||||
Reference in new issue
Block a user