add MIDI loader (currently supports only guitar)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "NotesLoaderDWI.h"
|
||||
#include "NotesLoaderBMS.h"
|
||||
#include "NotesLoaderKSF.h"
|
||||
#include "NotesLoaderMidi.h"
|
||||
|
||||
void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, RString &sMainTitleOut, RString &sSubTitleOut )
|
||||
{
|
||||
@@ -44,6 +45,9 @@ bool NotesLoader::LoadFromDir( const RString &sPath, Song &out, set<RString> &Bl
|
||||
KSFLoader::GetApplicableFiles( sPath, list );
|
||||
if( !list.empty() )
|
||||
return KSFLoader::LoadFromDir( sPath, out );
|
||||
MidiLoader::GetApplicableFiles( sPath, list );
|
||||
if( !list.empty() )
|
||||
return MidiLoader::LoadFromDir( sPath, out );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user