[Scummvm-tracker] [ScummVM :: Bugs] #15152: SCUMM: MONKEY2: Wrong instruments used in MT-32 playback

ScummVM :: Bugs trac at scummvm.org
Tue Jun 4 12:34:04 UTC 2024


#15152: SCUMM: MONKEY2: Wrong instruments used in MT-32 playback
-----------------------+------------------------------
Reporter:  gabberhead  |       Owner:  (none)
    Type:  defect      |      Status:  new
Priority:  normal      |   Component:  Engine: SCUMM
 Version:              |  Resolution:
Keywords:              |        Game:  Monkey Island 2
-----------------------+------------------------------
Comment (by eriktorbjorn):

 It only seems to happen when you skip the first part, not if you let it
 play uninterrupted. Bisecting points to this commit:

 {{{
 Author: athrxx <athrxx at scummvm.org>
 Date:   Fri Mar 22 18:18:58 2024 +0100

     SCUMM: (IMS/MI2/FOA) - implement old style channel management

     (fix bug #14618: Inaccurate fades in INDY4,  "Test 1")

     This part of the bug ticket is not about fades. The reason
     for the glitch is that the driver has no unused channels left
     and the newer allocation mechanism is not able to free up
     some of the used channels here.

  engines/scumm/imuse/drivers/fmtowns.cpp | 12 +++---
  engines/scumm/imuse/drivers/fmtowns.h   |  1 +
  engines/scumm/imuse/imuse.cpp           | 76
 ++++++++++++++++++++++++++++++---
  engines/scumm/imuse/imuse.h             |  7 +--
  engines/scumm/imuse/imuse_internal.h    | 12 +++++-
  engines/scumm/imuse/imuse_part.cpp      | 11 ++++-
  engines/scumm/imuse/imuse_player.cpp    | 12 ++++--
  engines/scumm/imuse/sysex_scumm.cpp     | 15 +++++--
  engines/scumm/scumm.cpp                 |  8 +---
  9 files changed, 119 insertions(+), 35 deletions(-)
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15152#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list