(svn r20102) -Fix: OpenMSX music sounds odd after certain songs are played. Likely because the instruments weren't reset properly

This commit is contained in:
rubidium 2010-07-09 17:47:52 +00:00
parent d72a1eb1fd
commit 8dc15e97e1

View File

@ -165,8 +165,8 @@ void MusicDriver_DMusic::PlaySong(const char *filename)
/* release the existing segment if we have any */ /* release the existing segment if we have any */
if (segment != NULL) { if (segment != NULL) {
segment->Release(); this->Stop();
segment = NULL; if (this->Start(NULL) != NULL) return;
} }
/* make a new segment */ /* make a new segment */