mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
SCI: Allow the Fun Seeker's Guide demo to run
This demo doesn't have any music, and the original doesn't work with any sound driver, so don't error out when the sound driver can't be initialized properly
This commit is contained in:
parent
09f193352a
commit
60c2061710
@ -125,7 +125,10 @@ void SciMusic::init() {
|
||||
_pMidiDrv->setTimerCallback(this, &miditimerCallback);
|
||||
_dwTempo = _pMidiDrv->getBaseTempo();
|
||||
} else {
|
||||
error("Failed to initialize sound driver");
|
||||
// Happens in the Fun Seeker's Guide demo, which doesn't have any sound
|
||||
// anyway (nor works if anything other than PC Spearker is set), so this
|
||||
// shouldn't be fatal
|
||||
warning("Failed to initialize sound driver");
|
||||
}
|
||||
|
||||
// Find out what the first possible channel is (used, when doing channel
|
||||
|
Loading…
Reference in New Issue
Block a user