aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-18 14:06:40 +0200
committerWillem Jan Palenstijn2015-12-23 21:34:10 +0100
commit4d5856a95eb5967f784cd60280496386f2a767e9 (patch)
treefa8431e7e4fdefc885449a19d5a23919958d19e1 /engines/lab
parent70396e6fbac882780886327dfd673b52270bc7e2 (diff)
downloadscummvm-rg350-4d5856a95eb5967f784cd60280496386f2a767e9.tar.gz
scummvm-rg350-4d5856a95eb5967f784cd60280496386f2a767e9.tar.bz2
scummvm-rg350-4d5856a95eb5967f784cd60280496386f2a767e9.zip
LAB: Handle the music encoding of the Amiga version
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/music.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/lab/music.cpp b/engines/lab/music.cpp
index 18a5cc3587..873f2dc7f9 100644
--- a/engines/lab/music.cpp
+++ b/engines/lab/music.cpp
@@ -88,8 +88,10 @@ void Music::updateMusic() {
byte soundFlags = Audio::FLAG_LITTLE_ENDIAN;
if (_vm->getPlatform() == Common::kPlatformWindows)
soundFlags |= Audio::FLAG_16BITS;
- else
+ else if (_vm->getPlatform() == Common::kPlatformDOS)
soundFlags |= Audio::FLAG_UNSIGNED;
+ else if (_vm->getPlatform() == Common::kPlatformAmiga)
+ soundFlags = 0;
_queuingAudioStream->queueBuffer(musicBuffer, MUSICBUFSIZE, DisposeAfterUse::YES, soundFlags);