(svn r19262) -Feature: finalise BaNaNaS support for music sets

This commit is contained in:
rubidium
2010-02-26 00:00:55 +00:00
parent 7b1e0a4b67
commit 0f6d82df7e
5 changed files with 88 additions and 1 deletions

View File

@@ -170,7 +170,9 @@ public:
static uint FindSets()
{
BaseMedia<Tbase_set> fs;
return fs.Scan(GetExtension(), Tbase_set::SUBDIR);
/* GM_DIR == music set. Music sets don't support tars,
* so there is no need to search for tars in that case. */
return fs.Scan(GetExtension(), Tbase_set::SUBDIR, Tbase_set::SUBDIR != GM_DIR);
}
/**