mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
ADD: Pop-up menu for disable bind added to the controls dialog.
FIX: I forgot to delete ControlsMapping instance.
This commit is contained in:
1 parent
e2024674a4
commit
662df67d39
6 files changed
+137
-45
No files matched your search
@@ -148,7 +148,7 @@ static inline int getPadCodeFromVirtualPovCode(unsigned int povCode)
|
||||
{
|
||||
int mergedCode = 0;
|
||||
for (int i = 0; i < dinput_ctrl_map_size / sizeof(dinput_ctrl_map[0]); i += 2) {
|
||||
if (dinput_ctrl_map[i] > 0xFF && dinput_ctrl_map[i] & povCode)
|
||||
if (dinput_ctrl_map[i] != 0xFFFFFFFF && dinput_ctrl_map[i] > 0xFF && dinput_ctrl_map[i] & povCode)
|
||||
mergedCode |= dinput_ctrl_map[i + 1];
|
||||
}
|
||||
return mergedCode;
|
||||
|
||||
Reference in new issue
Block a user