Edit loading overhaul: Load edits from song folders; Allow a songfolder-style hierarchy in profile edit folders; Make the #SONG tag optional if we can infer the intended song from the directory hierarchy.
This commit is contained in:
@@ -152,6 +152,17 @@ bool Steps::GetNoteDataFromSimfile()
|
||||
{
|
||||
return BMSLoader::LoadNoteDataFromSimfile(stepFile, *this);
|
||||
}
|
||||
else if (extension == "edit")
|
||||
{
|
||||
// Try SSC, then fallback to SM.
|
||||
SSCLoader ldSSC;
|
||||
if(ldSSC.LoadNoteDataFromSimfile(stepFile, *this) != true)
|
||||
{
|
||||
SMLoader ldSM;
|
||||
return ldSM.LoadNoteDataFromSimfile(stepFile, *this);
|
||||
}
|
||||
else return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user