This commit is contained in:
Glenn Maynard
2005-04-24 19:33:46 +00:00
parent e2ab509b8e
commit cabfc056fd
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -1014,13 +1014,14 @@ void Profile::LoadEditableDataFromDir( CString sDir )
CLAMP( m_iWeightPounds, 50, 500 );
}
CString Profile::FastLoadProfileNameFromMemoryCard( CString sDir )
bool Profile::FastLoadProfileNameFromMemoryCard( CString sDir, CString &sName )
{
CString sProfileDir = sDir + PREFSMAN->m_sMemoryCardProfileSubdir + '/';
Profile profile;
profile.LoadEditableDataFromDir( sProfileDir );
return profile.GetDisplayName();
sName = profile.GetDisplayName();
return true;
}
void Profile::LoadGeneralDataFromNode( const XNode* pNode )