Opened 16 years ago

Closed 16 years ago

Last modified 5 years ago

#8927 closed patch

AGI: Fix Crash with Apple][ Instruments

Reported by: SF/mthreepwood Owned by: SF/buddha_
Priority: normal Component: Engine: AGI
Version: Keywords:
Cc: Game:

Description

When the instrument data for Apple][ AGI games is not present, and the engine tries to play a MIDI sound, the game crashes with a failed assertion in common/array.h, line 94. This patch disables midi sound when the instruments haven't been found which fixes the crash.

Ticket imported from: #2131406. Ticket imported from: patches/1032.

Attachments (1)

agi_midi_crash.diff (948 bytes ) - added by SF/mthreepwood 16 years ago.
Patch

Download all attachments as: .zip

Change History (5)

by SF/mthreepwood, 16 years ago

Attachment: agi_midi_crash.diff added

Patch

comment:1 by sev-, 16 years ago

Owner: set to SF/buddha_

comment:2 by SF/buddha_, 16 years ago

Applied to the trunk in revision 34798: http://scummvm.svn.sourceforge.net/scummvm/?rev=34798&view=rev Tested briefly and it seems to work.

comment:3 by SF/buddha_, 16 years ago

Status: newclosed

comment:4 by digitall, 5 years ago

Component: Engine: AGI
Note: See TracTickets for help on using tickets.