From dad4a16cc18ab66efe6aeafa8f832589453f3fef Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sat, 20 Apr 2013 19:50:09 +0000 Subject: [PATCH] -small fix for r900 --- source/music/MusicPlayer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/music/MusicPlayer.cpp b/source/music/MusicPlayer.cpp index 907087cd..f2f243e9 100644 --- a/source/music/MusicPlayer.cpp +++ b/source/music/MusicPlayer.cpp @@ -144,7 +144,10 @@ void Musicplayer::LoadCurrentFile() void Musicplayer::LoadFile(const char *name, bool display_change) { if(FileNames.empty()) + { FileNames.push_back(PLUGIN_DOMAIN); + CurrentFileName = FileNames.begin(); + } else if(FileNames.size() == 1 && strcmp(name, PLUGIN_DOMAIN) == 0) { Cleanup();