Changeset - r23001:9304514ac9ce
[Not reviewed]
master
0 1 0
Charles Pigott - 6 years ago 2018-09-12 07:19:06
charlespigott@googlemail.com
Fix #6839: OLD_GM_DIR midi search path got lost (#6900)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/music/midifile.cpp
Show inline comments
 
@@ -1013,6 +1013,8 @@ std::string MidiFile::GetSMFFile(const M
 
		char filename[MAX_PATH];
 
		if (FioFindFullPath(filename, lastof(filename), Subdirectory::BASESET_DIR, song.filename)) {
 
			return std::string(filename);
 
		} else if (FioFindFullPath(filename, lastof(filename), Subdirectory::OLD_GM_DIR, song.filename)) {
 
			return std::string(filename);
 
		} else {
 
			return std::string();
 
		}
0 comments (0 inline, 0 general)