Don't preload low-quality banners on very low-memory systems.
This commit is contained in:
@@ -76,6 +76,7 @@ PrefsManager::PrefsManager()
|
||||
m_bSoloSingle = false;
|
||||
m_bDelayedTextureDelete = true;
|
||||
m_bDelayedScreenLoad = false;
|
||||
m_bBannerCache = false; // XXX
|
||||
m_MusicWheelUsesSections = ALWAYS;
|
||||
m_iMusicWheelSwitchSpeed = 10;
|
||||
m_bEasterEggs = true;
|
||||
@@ -181,6 +182,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
|
||||
ini.GetValue ( "Options", "DWIPath", m_DWIPath );
|
||||
ini.GetValueB( "Options", "DelayedTextureDelete", m_bDelayedTextureDelete );
|
||||
ini.GetValueB( "Options", "DelayedScreenLoad", m_bDelayedScreenLoad );
|
||||
ini.GetValueB( "Options", "BannerCache", m_bBannerCache );
|
||||
ini.GetValueI( "Options", "MusicWheelUsesSections", (int&)m_MusicWheelUsesSections );
|
||||
ini.GetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed );
|
||||
ini.GetValue ( "Options", "SoundDrivers", m_sSoundDrivers );
|
||||
@@ -277,6 +279,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
|
||||
ini.SetValue ( "Options", "DWIPath", m_DWIPath );
|
||||
ini.SetValueB( "Options", "DelayedTextureDelete", m_bDelayedTextureDelete );
|
||||
ini.SetValueB( "Options", "DelayedScreenLoad", m_bDelayedScreenLoad );
|
||||
ini.SetValueB( "Options", "BannerCache", m_bBannerCache );
|
||||
ini.SetValueI( "Options", "MusicWheelUsesSections", m_MusicWheelUsesSections );
|
||||
ini.SetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed );
|
||||
ini.SetValueB( "Options", "EasterEggs", m_bEasterEggs );
|
||||
|
||||
Reference in New Issue
Block a user