mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +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
03b079f856
commit
24fe1f41a5
@ -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