From abc94255dc807ba01874812995a938fefd031949 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 17 May 2003 20:23:12 +0000 Subject: [PATCH] s/Misc/Options/. The entire "Options" category is miscellaneous; there's no use splitting them here. --- stepmania/src/PrefsManager.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index c9abb00643..fce8500e58 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -198,8 +198,9 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame ) ini.GetValueB( "Options", "BreakComboToGetItem", m_bBreakComboToGetItem ); ini.GetValueB( "Options", "ShowDancingCharacters", m_bShowDancingCharacters ); ini.GetValueI( "Options", "BannerCacheType", (int&)m_BannerCacheType ); - ini.GetValueF( "Misc", "DancePointsAccumulated", m_fDancePointsAccumulated ); - ini.GetValueB( "Misc", "UseUnlockSystem", m_bUseUnlockSystem ); + /* XXX: This belongs in the memcard code, not prefs. */ + ini.GetValueF( "Options", "DancePointsAccumulated", m_fDancePointsAccumulated ); + ini.GetValueB( "Options", "UseUnlockSystem", m_bUseUnlockSystem ); m_asAdditionalSongFolders.clear(); CString sAdditionalSongFolders; @@ -283,8 +284,8 @@ void PrefsManager::SaveGlobalPrefsToDisk() ini.SetValueB( "Options", "BreakComboToGetItem", m_bBreakComboToGetItem ); ini.SetValueB( "Options", "ShowDancingCharacters", m_bShowDancingCharacters ); ini.SetValueI( "Options", "BannerCacheType", m_BannerCacheType ); - ini.SetValueF( "Misc", "DancePointsAccumulated", m_fDancePointsAccumulated ); - ini.SetValueB( "Misc", "UseUnlockSystem", m_bUseUnlockSystem ); + ini.SetValueF( "Options", "DancePointsAccumulated", m_fDancePointsAccumulated ); + ini.SetValueB( "Options", "UseUnlockSystem", m_bUseUnlockSystem ); /* Only write these if they aren't the default. This ensures that we can change