diff options
author | Norbert Lange | 2009-08-04 17:43:56 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-04 17:43:56 +0000 |
commit | 4c4eb1394cf195952b59e7e06963736df41eeb5f (patch) | |
tree | 7916db9e811ec030d02091c372454c00ec5255ff /engines/kyra | |
parent | c304c633cecce91b2cc6d71224960681a7a04707 (diff) | |
download | scummvm-rg350-4c4eb1394cf195952b59e7e06963736df41eeb5f.tar.gz scummvm-rg350-4c4eb1394cf195952b59e7e06963736df41eeb5f.tar.bz2 scummvm-rg350-4c4eb1394cf195952b59e7e06963736df41eeb5f.zip |
added warning should the sound files not be available (intro will hang if there is no musictimer)
svn-id: r43049
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sound_amiga.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/sound_amiga.cpp b/engines/kyra/sound_amiga.cpp index 59f1eaf4cd..329969eff0 100644 --- a/engines/kyra/sound_amiga.cpp +++ b/engines/kyra/sound_amiga.cpp @@ -41,7 +41,10 @@ const char *const SoundAmiga::kFilenameTable[3][2] = { }; SoundAmiga::SoundAmiga(KyraEngine_v1 *vm, Audio::Mixer *mixer) - : Sound(vm, mixer), _driver(0), _musicHandle(), _fileLoaded(kFileNone) { + : Sound(vm, mixer), + _driver(0), + _musicHandle(), + _fileLoaded(kFileNone) { } SoundAmiga::~SoundAmiga() { @@ -51,7 +54,6 @@ SoundAmiga::~SoundAmiga() { bool SoundAmiga::init() { _driver = new Audio::MaxTrax(_mixer->getOutputRate(), true); - return _driver != 0; } |