diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2021-01-08 17:43:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 17:43:31 +0100 |
commit | 6e42c791cf3bbcb59363ab913a4d909b5345ab1b (patch) | |
tree | f39e4ab8a86ccfae72bf59b3ce984a02cc13b50a /src/core/Frontend.cpp | |
parent | Merge pull request #930 from Nick007J/master (diff) | |
parent | bb .ini hello defines (diff) | |
download | re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar.gz re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar.bz2 re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar.lz re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar.xz re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.tar.zst re3-6e42c791cf3bbcb59363ab913a4d909b5345ab1b.zip |
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r-- | src/core/Frontend.cpp | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 2a87c7ad..7bf4be84 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -1459,18 +1459,34 @@ CMenuManager::Draw() #else switch (m_PrefsUseWideScreen) { case AR_AUTO: - sprintf(asciiTemp, "AUTO"); + rightText = TheText.Get("FEM_AUT"); break; case AR_4_3: sprintf(asciiTemp, "4:3"); + AsciiToUnicode(asciiTemp, unicodeTemp); + rightText = unicodeTemp; + break; + case AR_5_4: + sprintf(asciiTemp, "5:4"); + AsciiToUnicode(asciiTemp, unicodeTemp); + rightText = unicodeTemp; + break; + case AR_16_10: + sprintf(asciiTemp, "16:10"); + AsciiToUnicode(asciiTemp, unicodeTemp); + rightText = unicodeTemp; break; case AR_16_9: sprintf(asciiTemp, "16:9"); + AsciiToUnicode(asciiTemp, unicodeTemp); + rightText = unicodeTemp; + break; + case AR_21_9: + sprintf(asciiTemp, "21:9"); + AsciiToUnicode(asciiTemp, unicodeTemp); + rightText = unicodeTemp; break; } - - AsciiToUnicode(asciiTemp, unicodeTemp); - rightText = unicodeTemp; #endif break; case MENUACTION_RADIO: @@ -5252,12 +5268,12 @@ CMenuManager::ProcessButtonPresses(void) case MENUACTION_WIDESCREEN: if (changeValueBy > 0) { m_PrefsUseWideScreen++; - if (m_PrefsUseWideScreen > 2) + if (m_PrefsUseWideScreen > AR_MAX-1) m_PrefsUseWideScreen = 0; } else { m_PrefsUseWideScreen--; if (m_PrefsUseWideScreen < 0) - m_PrefsUseWideScreen = 2; + m_PrefsUseWideScreen = AR_MAX-1; } DMAudio.PlayFrontEndSound(SOUND_FRONTEND_MENU_SETTING_CHANGE, 0); SaveSettings(); |