From 40504d781032581d0a37d0d996909e5f7084dae9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 22 Nov 2009 11:58:14 +0000 Subject: Add patch #2876221 - FBEAR: Fix for MIDI piano notes (DOS version), with minor change. svn-id: r46081 --- engines/scumm/he/sound_he.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/scumm/he') diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index 254fecbe0d..8dd59ca388 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -748,9 +748,12 @@ void SoundHE::playHESound(int soundID, int heOffset, int heChannel, int heFlags) } else if (READ_BE_UINT32(ptr) == MKID_BE('MIDI')) { if (_vm->_imuse) { + // This is used in the DOS version of Fatty Bear's + // Birthday Surprise to change the note on the piano + // when not using a digitized instrument. _vm->_imuse->stopSound(_currentMusic); _currentMusic = soundID; - _vm->_imuse->startSound(soundID); + _vm->_imuse->startSoundWithNoteOffset(soundID, heOffset); } } } -- cgit v1.2.3