aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2010-01-26 19:25:33 +0000
committerWalter van Niftrik2010-01-26 19:25:33 +0000
commit9861b04b935b84424b5b7950a2398dbfb44a99f9 (patch)
tree59a341fbe00b6cc9b4e51134ec2e746445183eff /engines/sci/sound/soundcmd.cpp
parentd6bb432a92c3600a5201217316aa7ed0321c898c (diff)
downloadscummvm-rg350-9861b04b935b84424b5b7950a2398dbfb44a99f9.tar.gz
scummvm-rg350-9861b04b935b84424b5b7950a2398dbfb44a99f9.tar.bz2
scummvm-rg350-9861b04b935b84424b5b7950a2398dbfb44a99f9.zip
SCI: Add driver for Yamaha FB-01. Cleanup.
svn-id: r47571
Diffstat (limited to 'engines/sci/sound/soundcmd.cpp')
-rw-r--r--engines/sci/sound/soundcmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 74b44953fb..3f1f29711d 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -209,7 +209,9 @@ SoundCommandParser::~SoundCommandParser() {
for (SoundCommandContainer::iterator i = _soundCommands.begin(); i != _soundCommands.end(); ++i)
delete *i;
+#ifndef USE_OLD_MUSIC_FUNCTIONS
delete _music;
+#endif
}
reg_t SoundCommandParser::parseCommand(int argc, reg_t *argv, reg_t acc) {