summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/music_gui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 2c9d474f8..846c2bcb6 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -178,8 +178,9 @@ static void MusicVolumeChanged(byte new_vol)
static void DoPlaySong()
{
char filename[MAX_PATH];
- FioFindFullPath(filename, lengthof(filename), BASESET_DIR,
- BaseMusic::GetUsedSet()->files[_music_wnd_cursong - 1].filename);
+ if (FioFindFullPath(filename, lengthof(filename), BASESET_DIR, BaseMusic::GetUsedSet()->files[_music_wnd_cursong - 1].filename) == NULL) {
+ FioFindFullPath(filename, lengthof(filename), OLD_GM_DIR, BaseMusic::GetUsedSet()->files[_music_wnd_cursong - 1].filename);
+ }
_music_driver->PlaySong(filename);
SetWindowDirty(WC_MUSIC_WINDOW, 0);
}