From 4d5856a95eb5967f784cd60280496386f2a767e9 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 18 Dec 2015 14:06:40 +0200 Subject: LAB: Handle the music encoding of the Amiga version --- engines/lab/music.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/lab') 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); -- cgit v1.2.3