From b01f68a44b4a51d5d87fca128518b4289fd85719 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 16 Sep 2016 21:16:51 -0400 Subject: XEEN: Fix setting music notes --- engines/xeen/music.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/xeen/music.cpp b/engines/xeen/music.cpp index f82b318289..9bf15ad2c5 100644 --- a/engines/xeen/music.cpp +++ b/engines/xeen/music.cpp @@ -492,7 +492,8 @@ bool AdlibMusicDriver::musStartNote(const byte *&srcP, byte param) { debugC(3, kDebugSound, "musStartNote %x -> %x", note, freq); setFrequency(param, freq); - _channels[param]._frequency = freq | 0x2000; + freq |= 0x2000; + _channels[param]._frequency = freq; setFrequency(param, freq); } else { srcP += 2; -- cgit v1.2.3