mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 12:40:58 +00:00
Always try and load the associated digital track if the requested MIDI track couldn't be found
svn-id: r47631
This commit is contained in:
parent
1e6123ce89
commit
6fd8f7c015
@ -172,7 +172,9 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) {
|
||||
|
||||
// If MIDI device is selected but there is no digital track in sound resource
|
||||
// try to use adlib's digital sample if possible
|
||||
if (_bMultiMidi && (!track || track->digitalChannelNr == -1)) {
|
||||
// Also, if the track couldn't be found, load the digital track, as some games
|
||||
// depend on this (e.g. the Longbow demo)
|
||||
if (!track || (_bMultiMidi && track->digitalChannelNr == -1)) {
|
||||
SoundResource::Track *digital = pSnd->soundRes->getDigitalTrack();
|
||||
if (digital)
|
||||
track = digital;
|
||||
|
Loading…
x
Reference in New Issue
Block a user