XNode::LoadFromFile(RageFileBasic)

This commit is contained in:
Glenn Maynard
2005-01-08 19:12:44 +00:00
parent 8960227799
commit 8ee052516a
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1009,6 +1009,12 @@ bool XNode::LoadFromFile( const CString &sFile, PARSEINFO *pi )
LOG->Warn("Couldn't open %s for reading: %s", sFile.c_str(), f.GetError().c_str() );
return false;
}
return LoadFromFile( f, pi );
}
bool XNode::LoadFromFile( RageFileBasic &f, PARSEINFO *pi )
{
CString s;
if( f.Read( s ) == -1 )
{