diff options
author | Arnaud Boutonné | 2009-06-13 22:14:58 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2009-06-13 22:14:58 +0000 |
commit | 7eaf013bbfe0bbf07e14aa6f5f7c25a75f1f621e (patch) | |
tree | bebe7bcd749fd2d5e6c98d4ec08742065c0edb87 /engines/gob/sound/sound.cpp | |
parent | ccb92ebfee9829ff85deeacbe4f8c01e476fd2e8 (diff) | |
download | scummvm-rg350-7eaf013bbfe0bbf07e14aa6f5f7c25a75f1f621e.tar.gz scummvm-rg350-7eaf013bbfe0bbf07e14aa6f5f7c25a75f1f621e.tar.bz2 scummvm-rg350-7eaf013bbfe0bbf07e14aa6f5f7c25a75f1f621e.zip |
Gob - *WIP* incomplete implementation of MDY/TBR
svn-id: r41498
Diffstat (limited to 'engines/gob/sound/sound.cpp')
-rw-r--r-- | engines/gob/sound/sound.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index f0cf17b989..3401931c8b 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -250,6 +250,24 @@ void Sound::adlibUnload() { _adlib->unload(); } +bool Sound::adlibLoadMdy(const char *fileName) { + if (!_adlib) + return false; + + debugC(1, kDebugSound, "Adlib: Loading data (\"%s\")", fileName); + + return _adlib->loadMdy(fileName); +} + +bool Sound::adlibLoadTbr(const char *fileName) { + if (!_adlib) + return false; + + debugC(1, kDebugSound, "Adlib: Loading instruments (\"%s\")", fileName); + + return _adlib->loadTbr(fileName); +} + void Sound::adlibPlayTrack(const char *trackname) { if (!_adlib || _adlib->isPlaying()) return; |