diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 11:30:14 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 11:30:14 +0200 |
commit | 375c7df00f4b95ca52906cf337fad0eefd18d0da (patch) | |
tree | 817249f1c2a2d1b0fe17c5e63cd9ef2aa9d0e483 /src/core/re3.cpp | |
parent | update lib (diff) | |
parent | Fixes from miami (diff) | |
download | re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.gz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.bz2 re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.lz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.xz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.zst re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 2922f73e..a7a0d7f1 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -177,7 +177,12 @@ wchar* MultiSamplingDraw(bool *disabled, bool userHovering) { } else { FrontEndMenuManager.SetHelperText(1); } + } else { + if (FrontEndMenuManager.m_nDisplayMSAALevel != FrontEndMenuManager.m_nPrefsMSAALevel) { + FrontEndMenuManager.m_nDisplayMSAALevel = FrontEndMenuManager.m_nPrefsMSAALevel; + } } + if (!FrontEndMenuManager.m_bGameNotLoaded) *disabled = true; @@ -305,7 +310,7 @@ CustomFrontendOptionsPopulate(void) #endif // -- Graphics/display seperation preperation end - static const wchar* off_on[] = { TheText.Get("FEM_OFF"), TheText.Get("FEM_ON") }; + const wchar* off_on[] = { TheText.Get("FEM_OFF"), TheText.Get("FEM_ON") }; #ifdef MORE_LANGUAGES FrontendOptionSetCursor(MENUPAGE_LANGUAGE_SETTINGS, -2); @@ -326,7 +331,7 @@ CustomFrontendOptionsPopulate(void) CLONE_OPTION(TheText.Get("FED_WIS"), MENUACTION_WIDESCREEN, nil, nil) #ifdef IMPROVED_VIDEOMODE - static const wchar* screenModes[] = { (wchar*)L"FULLSCREEN", (wchar*)L"WINDOWED" }; + const wchar* screenModes[] = { TheText.Get("FED_FLS"), TheText.Get("FED_WND") }; // Storing isn't enabled because it's handled in Frontend FrontendOptionAddSelect(TheText.Get("FEM_SCF"), screenModes, 2, (int8*)&FrontEndMenuManager.m_nPrefsWindowed, true, ScreenModeChange, nil); #endif |