mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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:
parent
d72a1eb1fd
commit
8dc15e97e1
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user