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:
Filippos Karapetis 2012-09-01 17:59:52 +03:00
parent 09f193352a
commit 60c2061710

View File

@ -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