Opened 22 years ago

Closed 22 years ago

Last modified 6 years ago

#8117 closed patch

SIMON: Fix for sound-related crash

Reported by: eriktorbjorn Owned by: Kirben
Priority: normal Component: Engine: AGOS
Version: Keywords:
Cc: Game: Simon the Sorcerer 2

Description

This patch will make open() fail if the filename is an empty string. Otherwise it may report success because it was able to open the directory where it was looking for the file. At least that's the behaviour under UNIX. Windows may be different.

In particular, Simon 2 failed to play sound effects, and eventually crashed, because ScummVM thought it had found an MP3-encoded effects file.

Ticket imported from: #632517. Ticket imported from: patches/222.

Attachments (1)

file.diff (429 bytes ) - added by eriktorbjorn 22 years ago.
Patch against an October 31 CVS snapshot

Download all attachments as: .zip

Change History (4)

by eriktorbjorn, 22 years ago

Attachment: file.diff added

Patch against an October 31 CVS snapshot

comment:1 by Kirben, 22 years ago

Patch added to scummvm cvs.

comment:2 by Kirben, 22 years ago

Owner: set to Kirben
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Engine: AGOS
Game: Simon the Sorcerer 2
Note: See TracTickets for help on using tickets.