allow freeing steps from a specific profile

This commit is contained in:
Glenn Maynard
2005-04-25 00:09:59 +00:00
parent dcafde0088
commit 96bcbbc820
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1214,12 +1214,12 @@ void SongManager::LoadEditsFromDir( const CString &sDir, ProfileSlot slot )
}
}
void SongManager::FreeAllLoadedFromProfiles()
void SongManager::FreeAllLoadedFromProfile( ProfileSlot slot )
{
for( unsigned s=0; s<m_pSongs.size(); s++ )
{
Song* pSong = m_pSongs[s];
pSong->FreeAllLoadedFromProfile();
pSong->FreeAllLoadedFromProfile( slot );
}
// After freeing some Steps pointers, the cache will be invalid.