diff options
author | Eugene Sandulenko | 2019-07-24 13:59:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:28 +0200 |
commit | e0b0d85f5b1c02136cf834b7eec181901faf2fc6 (patch) | |
tree | 34fe79c9c04360ec18f194ec0673593e62466e7a /engines/hdb/hdb.cpp | |
parent | 951943ececf0b2c27c19adbd6b60c020eee6d13a (diff) | |
download | scummvm-rg350-e0b0d85f5b1c02136cf834b7eec181901faf2fc6.tar.gz scummvm-rg350-e0b0d85f5b1c02136cf834b7eec181901faf2fc6.tar.bz2 scummvm-rg350-e0b0d85f5b1c02136cf834b7eec181901faf2fc6.zip |
HDB: Reduce header dependency
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index f26b558002..c2c9f51fde 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -20,6 +20,7 @@ * */ +#include "common/config-manager.h" #include "common/random.h" #include "hdb/hdb.h" @@ -853,12 +854,7 @@ Common::Error HDBGame::run() { // Initializes Graphics initGraphics(kScreenWidth, kScreenHeight, &_format); -#ifdef USE_MAD - Common::SeekableReadStream *soundStream = _fileMan->findFirstData("M00_AIRLOCK_01_MP3", TYPE_BINARY); - Audio::SeekableAudioStream *audioStream = Audio::makeMP3Stream(soundStream, DisposeAfterUse::YES); - Audio::SoundHandle *handle = new Audio::SoundHandle(); - g_hdb->_mixer->playStream(Audio::Mixer::kPlainSoundType, handle, audioStream); -#endif + _sound->test(); start(); |