simplify
This commit is contained in:
@@ -98,6 +98,7 @@ PrefsManager::PrefsManager()
|
||||
m_bFirstRun = true;
|
||||
m_bAutoMapJoysticks = true;
|
||||
m_fGlobalOffsetSeconds = 0;
|
||||
m_bShowConsole = false;
|
||||
|
||||
m_bTenFooterInRed = true;
|
||||
|
||||
@@ -223,6 +224,8 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
|
||||
#endif
|
||||
ini.GetValueB( "Options", "AntiAliasing", m_bAntiAliasing );
|
||||
ini.GetValueF( "Options", "GlobalOffsetSeconds", m_fGlobalOffsetSeconds );
|
||||
ini.GetValueB( "Options", "ShowConsole", m_bShowConsole );
|
||||
|
||||
|
||||
m_asAdditionalSongFolders.clear();
|
||||
CString sAdditionalSongFolders;
|
||||
@@ -317,6 +320,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
|
||||
#endif
|
||||
ini.SetValueB( "Options", "AntiAliasing", m_bAntiAliasing );
|
||||
ini.SetValueF( "Options", "GlobalOffsetSeconds", m_fGlobalOffsetSeconds );
|
||||
ini.SetValueB( "Options", "ShowConsole", m_bShowConsole );
|
||||
|
||||
ini.SetValueB( "Options", "TenFooterInRed", m_bTenFooterInRed );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user