Xbox: Additional song folders fix

This commit is contained in:
Ryan Dortmans
2004-10-21 05:43:43 +00:00
parent 1da591ab95
commit 62ab69e47b
@@ -238,6 +238,13 @@ void DirectFilenameDB::PopulateFileSet( FileSet &fs, const CString &path )
{
CString sPath = path;
#if defined(XBOX)
/* Xbox doesn't handle path names which end with ".", which are used when using an
* alternative song directory */
if(sPath.size() > 0 && sPath.Right(1) == ".")
sPath.erase(sPath.size() - 1);
#endif
/* Resolve path cases (path/Path -> PATH/path). */
ResolvePath( sPath );