mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Control: Add debug display, do assorted fixes.
This commit is contained in:
1 parent
025ec248e4
commit
48993f4f4b
9 files changed
+103
-43
No files matched your search
+2
-1
@@ -424,9 +424,10 @@ const KeyMap_IntStrPair psp_button_names[] = {
|
||||
};
|
||||
|
||||
static std::string FindName(int key, const KeyMap_IntStrPair list[], size_t size) {
|
||||
for (size_t i = 0; i < size; i++)
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
if (list[i].key == key)
|
||||
return list[i].name;
|
||||
}
|
||||
return StringFromFormat("%02x?", key);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user