Fix FM Key_UP_DOWN

This commit is contained in:
Armel FAUVEAU committed 2025-10-28 02:51:17 +01:00
1 parent a61801b8af
commit b1d9ab2923
1 file changed
+11 -3
+11 -3
View File
@@ -547,11 +547,19 @@ void FM_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
Key_MENU(state);
break;
case KEY_UP:
Key_UP_DOWN(state, 1);
#ifdef ENABLE_NAVIG_LEFT_RIGHT
Key_UP_DOWN(state, -1);
#else
Key_UP_DOWN(state, 1);
#endif
break;
case KEY_DOWN:
Key_UP_DOWN(state, -1);
break;;
#ifdef ENABLE_NAVIG_LEFT_RIGHT
Key_UP_DOWN(state, 1);
#else
Key_UP_DOWN(state, -1);
#endif
break;
case KEY_EXIT:
Key_EXIT(state);
break;