debug option to not show loading window
This commit is contained in:
@@ -265,6 +265,7 @@ PrefsManager::PrefsManager()
|
||||
m_bTimestamping = false;
|
||||
m_bLogSkips = false;
|
||||
m_bLogCheckpoints = false;
|
||||
m_bShowLoadingWindow = true;
|
||||
|
||||
for( int p=0; p<NUM_PLAYERS; p++ )
|
||||
{
|
||||
@@ -505,6 +506,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk()
|
||||
ini.GetValue( "Debug", "Timestamping", m_bTimestamping );
|
||||
ini.GetValue( "Debug", "LogSkips", m_bLogSkips );
|
||||
ini.GetValue( "Debug", "LogCheckpoints", m_bLogCheckpoints );
|
||||
ini.GetValue( "Debug", "ShowLoadingWindow", m_bShowLoadingWindow );
|
||||
}
|
||||
|
||||
void PrefsManager::SaveGlobalPrefsToDisk() const
|
||||
@@ -725,6 +727,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
|
||||
ini.SetValue( "Debug", "Timestamping", m_bTimestamping );
|
||||
ini.SetValue( "Debug", "LogSkips", m_bLogSkips );
|
||||
ini.SetValue( "Debug", "LogCheckpoints", m_bLogCheckpoints );
|
||||
ini.SetValue( "Debug", "ShowLoadingWindow", m_bShowLoadingWindow );
|
||||
|
||||
ini.WriteFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user