Getting simon2win to start at all
|Reported by:||eriktorbjorn||Owned by:||SF/ender|
|Game:||Simon the Sorcerer 2|
When I try to start simon2win, ScummVM complains that it can't read effects offsets. Since Simon 2 doesn't have an effects file (apparently voices and effects are stored together in one single file), it shouldn't even be trying.
That it does is because fopen_maybe_lowercase() takes the empty string, prepends _game_path and appends "." to it, i.e. it's trying to open the game directory as a file.
This patch will cause fopen_maybe_lowercase() to return NULL if you try to open NULL or an empty string.
It's still not playable because it will hang pretty early on, but it's still an improvement. :-)
The patch is made against a July 31 CVS snapshot.
Ticket imported from: #589718. Ticket imported from: patches/100.