mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Remove unnecessary vector
This commit is contained in:
1 parent
144ed7a3ab
commit
e47791d4c4
3 files changed
+7
-9
No files matched your search
+3
-6
@@ -504,12 +504,9 @@ const char* GetPspButtonNameCharPointer(int btn) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<KeyMap_IntStrPair> GetMappableKeys() {
|
||||
std::vector<KeyMap_IntStrPair> temp;
|
||||
for (size_t i = 0; i < ARRAY_SIZE(psp_button_names); i++) {
|
||||
temp.push_back(psp_button_names[i]);
|
||||
}
|
||||
return temp;
|
||||
const KeyMap::KeyMap_IntStrPair *GetMappableKeys(size_t *count) {
|
||||
*count = ARRAY_SIZE(psp_button_names);
|
||||
return psp_button_names;
|
||||
}
|
||||
|
||||
bool InputMappingToPspButton(const InputMapping &mapping, std::vector<int> *pspButtons) {
|
||||
|
||||
Reference in new issue
Block a user