Add option to stretch to display (turns off the black bars fixing the aspect ratio).

This commit is contained in:
Henrik Rydgard committed 2013-02-13 18:21:21 +01:00
1 parent 3faeeea2f9
commit 36f49706e0
8 files changed
+32 -2

No files matched your search

+2
View File
@@ -75,6 +75,7 @@ void CConfig::Load(const char *iniFileName)
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
graphics->Get("VertexCache", &bVertexCache, true);
graphics->Get("FullScreen", &bFullScreen, false);
graphics->Get("StretchToDisplay", &bStretchToDisplay, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -132,6 +133,7 @@ void CConfig::Save()
graphics->Set("DisableG3DLog", bDisableG3DLog);
graphics->Set("VertexCache", bVertexCache);
graphics->Set("FullScreen", bFullScreen);
graphics->Set("StretchToDisplay", bStretchToDisplay);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);