#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)
Change History (5)
by , 18 years ago
| Attachment: | agi_midi_crash.diff added |
|---|
comment:1 by , 18 years ago
| Owner: | set to |
|---|
comment:2 by , 18 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 , 18 years ago
| Status: | new → closed |
|---|
comment:4 by , 8 years ago
| Component: | → Engine: AGI |
|---|
Note:
See TracTickets
for help on using tickets.

Patch