diff options
author | athrxx | 2013-01-05 00:54:28 +0100 |
---|---|---|
committer | athrxx | 2013-01-09 20:27:37 +0100 |
commit | da3c385ee397ea9592a9b5f900487a7bdfb6e5c9 (patch) | |
tree | b3f309c34f9b3eb0375d9fdf8768477230977e6c /engines/kyra/sound_lol.cpp | |
parent | cc465076eef6194eb32320704a0855a21438bd95 (diff) | |
download | scummvm-rg350-da3c385ee397ea9592a9b5f900487a7bdfb6e5c9.tar.gz scummvm-rg350-da3c385ee397ea9592a9b5f900487a7bdfb6e5c9.tar.bz2 scummvm-rg350-da3c385ee397ea9592a9b5f900487a7bdfb6e5c9.zip |
KYRA: (LOL/FM-TOWNS) some startup code
(let the FM-Towns version load up and run without errors/crashes)
Diffstat (limited to 'engines/kyra/sound_lol.cpp')
-rw-r--r-- | engines/kyra/sound_lol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp index 02ea3f44a8..41f59be985 100644 --- a/engines/kyra/sound_lol.cpp +++ b/engines/kyra/sound_lol.cpp @@ -247,7 +247,7 @@ void LoLEngine::snd_playQueuedEffects() { void LoLEngine::snd_loadSoundFile(int track) { if (_sound->musicEnabled()) { - if (_flags.platform != Common::kPlatformPC98) { + if (_flags.platform == Common::kPlatformPC) { int t = (track - 250) * 3; if (_curMusicFileIndex != _musicTrackMap[t] || _curMusicFileExt != (char)_musicTrackMap[t + 1]) { snd_stopMusic(); @@ -269,12 +269,12 @@ int LoLEngine::snd_playTrack(int track) { _lastMusicTrack = track; if (_sound->musicEnabled()) { - if (_flags.platform == Common::kPlatformPC98) { - _sound->playTrack(track - 249); - } else { + if (_flags.platform == Common::kPlatformPC) { snd_loadSoundFile(track); int t = (track - 250) * 3; _sound->playTrack(_musicTrackMap[t + 2]); + } else { + _sound->playTrack(track - 249); } } |