summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-12-29 18:24:16 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-12-29 18:24:16 +0100
commit224e805fe4e7a4d5366b228072834674f77fa0ba (patch)
treee28b27bea8a0b8c5d78b1a67231713c58f430e9f /src/core/Frontend.cpp
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.gz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.bz2
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.lz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.xz
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.tar.zst
re3-224e805fe4e7a4d5366b228072834674f77fa0ba.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 9c33c397..e8cc43f1 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -141,6 +141,10 @@ int8 CMenuManager::m_nPrefsMSAALevel = 0;
int8 CMenuManager::m_nDisplayMSAALevel = 0;
#endif
+#ifdef ASPECT_RATIO_SCALE
+int32 CMenuManager::m_PrefsSpriteScalingMode = 0;
+#endif
+
#ifdef NO_ISLAND_LOADING
int8 CMenuManager::m_PrefsIslandLoading = ISLAND_LOADING_LOW;
#endif
@@ -1455,9 +1459,18 @@ CMenuManager::Draw()
case AR_4_3:
sprintf(asciiTemp, "4:3");
break;
+ case AR_5_4:
+ sprintf(asciiTemp, "5:4");
+ break;
+ case AR_16_10:
+ sprintf(asciiTemp, "16:10");
+ break;
case AR_16_9:
sprintf(asciiTemp, "16:9");
break;
+ case AR_21_9:
+ sprintf(asciiTemp, "21:9");
+ break;
}
AsciiToUnicode(asciiTemp, unicodeTemp);
@@ -5221,12 +5234,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();