diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.cpp | 7 | ||||
-rw-r--r-- | src/core/Frontend.h | 18 |
2 files changed, 9 insertions, 16 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 2cc34a95..2b5a7edd 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -4545,11 +4545,6 @@ CMenuManager::ProcessButtonPresses(void) } break; } - //case MENUACTION_KEYBOARDCTRLS: - // SwitchToNewScreen(MENUPAGE_KEYBOARD_CONTROLS); - // m_nSelectedListRow = 0; - // m_nCurrExLayer = HOVEROPTION_LIST; - // break; } } ProcessOnOffMenuOptions(); @@ -4767,6 +4762,7 @@ void CMenuManager::ProcessOnOffMenuOptions() { switch (aScreens[m_nCurrScreen].m_aEntries[m_nCurrOption].m_Action) { +#ifdef LEGACY_MENU_OPTIONS case MENUACTION_CTRLVIBRATION: m_PrefsUseVibration = !m_PrefsUseVibration; DMAudio.PlayFrontEndSound(SOUND_FRONTEND_MENU_SETTING_CHANGE, 0); @@ -4777,6 +4773,7 @@ CMenuManager::ProcessOnOffMenuOptions() CPad::GetPad(0)->Mode = 0; DMAudio.PlayFrontEndSound(SOUND_FRONTEND_MENU_SETTING_CHANGE, 0); break; +#endif case MENUACTION_FRAMESYNC: m_PrefsVsyncDisp = !m_PrefsVsyncDisp; DMAudio.PlayFrontEndSound(SOUND_FRONTEND_MENU_SETTING_CHANGE, 0); diff --git a/src/core/Frontend.h b/src/core/Frontend.h index e22f878e..afce0acd 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -218,8 +218,8 @@ enum eMenuAction MENUACTION_YES, MENUACTION_NO, MENUACTION_CHANGEMENU, - MENUACTION_CTRLVIBRATION, - MENUACTION_CTRLCONFIG, + MENUACTION_UNK5, + MENUACTION_INVERTPADY, MENUACTION_FRAMESYNC, MENUACTION_FRAMELIMIT, MENUACTION_TRAILS, @@ -255,7 +255,6 @@ enum eMenuAction MENUACTION_PARSEHEAP, // MENUACTION_MEMCARDSAVECONFIRM is that on VC enum?? MENUACTION_DEBUGSTREAM, - //MENUACTION_KEYBOARDCTRLS, MENUACTION_GETKEY, MENUACTION_SHOWHEADBOB, MENUACTION_UNK80, @@ -273,13 +272,6 @@ enum eMenuAction MENUACTION_CTRLMETHOD, MENUACTION_DYNAMICACOUSTIC, MENUACTION_MOUSESTEER, - MENUACTION_UNK103, - MENUACTION_UNK104, - MENUACTION_UNK105, - MENUACTION_UNK106, - MENUACTION_UNK107, - MENUACTION_UNK108, - MENUACTION_UNK109, MENUACTION_UNK110, #ifdef MORE_LANGUAGES MENUACTION_LANG_PL, @@ -290,7 +282,11 @@ enum eMenuAction MENUACTION_SCREENMODE, #endif #ifdef FREE_CAM - MENUACTION_FREECAM + MENUACTION_FREECAM, +#endif +#ifdef LEGACY_MENU_OPTIONS + MENUACTION_CTRLVIBRATION, + MENUACTION_CTRLCONFIG, #endif }; |