aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-02 21:50:00 +0000
committerFilippos Karapetis2010-09-02 21:50:00 +0000
commitd87fa1c8903ba21a2ce5d5946947a50af841700a (patch)
tree072dac53a41b62c101e687170e25183f3da6d539 /engines/sci/sound/soundcmd.cpp
parent3606e51e76a82d8f73c9ea4f4c6996896b9f5594 (diff)
downloadscummvm-rg350-d87fa1c8903ba21a2ce5d5946947a50af841700a.tar.gz
scummvm-rg350-d87fa1c8903ba21a2ce5d5946947a50af841700a.tar.bz2
scummvm-rg350-d87fa1c8903ba21a2ce5d5946947a50af841700a.zip
SCI: Show a warning window regarding GM in some games.
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
Diffstat (limited to 'engines/sci/sound/soundcmd.cpp')
-rw-r--r--engines/sci/sound/soundcmd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index c85d4c90a6..84aedc8515 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -696,4 +696,9 @@ void SoundCommandParser::pauseAll(bool pause) {
_music->pauseAll(pause);
}
+MusicType SoundCommandParser::getMusicType() const {
+ assert(_music);
+ return _music->soundGetMusicType();
+}
+
} // End of namespace Sci