fix local profile loading

This commit is contained in:
Chris Danford
2004-02-22 03:44:04 +00:00
parent 4658cda3dd
commit b12ea17458
4 changed files with 15 additions and 15 deletions
+3 -2
View File
@@ -124,8 +124,9 @@ int Profile::GetTotalNumSongsPlayed()
CString Profile::GetProfileDisplayNameFromDir( CString sDir )
{
// FIXME!
return "";
Profile profile;
profile.LoadEditableDataFromDir( sDir );
return profile.GetDisplayName();
}
int Profile::GetSongNumTimesPlayed( const Song* pSong ) const