-small fix for r900

This commit is contained in:
fix94.1 2013-04-20 19:50:09 +00:00
parent 082d0ff8dd
commit dad4a16cc1

View File

@ -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();