diff options
author | Johannes Schickel | 2007-10-22 20:53:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-10-22 20:53:10 +0000 |
commit | 380e8fe99bd90ed268dc6b852aa103bd8b6ed5a9 (patch) | |
tree | 33e7fbabbecd24035a18281febdbf1ceb1e4a790 /engines | |
parent | cc76fbee56917238f5e4f69d1df55e7a2f324762 (diff) | |
download | scummvm-rg350-380e8fe99bd90ed268dc6b852aa103bd8b6ed5a9.tar.gz scummvm-rg350-380e8fe99bd90ed268dc6b852aa103bd8b6ed5a9.tar.bz2 scummvm-rg350-380e8fe99bd90ed268dc6b852aa103bd8b6ed5a9.zip |
Fixed SFX in intro of FM-Towns/PC98 versions of Kyrandia 1 (Thanks to Florian Kagerer for the patch).
svn-id: r29248
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/kyra_v1.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp index f9432fb9ba..947cbb86b7 100644 --- a/engines/kyra/kyra_v1.cpp +++ b/engines/kyra/kyra_v1.cpp @@ -192,8 +192,8 @@ int KyraEngine_v1::init() { error("Couldn't init sound"); _sound->setVolume(255); - if (_flags.platform != Common::kPlatformFMTowns && _flags.platform != Common::kPlatformPC98) - _sound->loadSoundFile(9); + _sound->loadSoundFile((_flags.platform == Common::kPlatformFMTowns + || _flags.platform == Common::kPlatformPC98) ? 0 : 9); setupTimers(); setupButtonData(); @@ -1222,3 +1222,4 @@ void KyraEngine_v1::setupOpcodeTable() { } // end of namespace Kyra + |