move FastLoadProfileNameFromMemoryCard into ProfileManager

This commit is contained in:
Glenn Maynard
2005-04-24 23:06:15 +00:00
parent 9928ed6bde
commit 1ea1ecfaaf
6 changed files with 16 additions and 15 deletions
-10
View File
@@ -1018,16 +1018,6 @@ Profile::LoadResult Profile::LoadEditableDataFromDir( CString sDir )
return success;
}
bool Profile::FastLoadProfileNameFromMemoryCard( CString sDir, CString &sName )
{
CString sProfileDir = sDir + PREFSMAN->m_sMemoryCardProfileSubdir + '/';
Profile profile;
profile.LoadEditableDataFromDir( sProfileDir );
sName = profile.GetDisplayName();
return true;
}
void Profile::LoadGeneralDataFromNode( const XNode* pNode )
{
ASSERT( pNode->m_sName == "GeneralData" );