Opened 21 months ago
Closed 7 months ago
#14257 closed defect (fixed)
GLK: SCOTT: fatal() and GlkExit() do return
Reported by: | angstsmurf | Owned by: | hari01584 |
---|---|---|---|
Priority: | normal | Component: | Engine: GLK: Scott |
Version: | Keywords: | ||
Cc: | Game: |
Description
The Scott::fatal()
method is supposed to print an error message and then exit, but seems to return after calling GlkExit()
, which is also not supposed to return.
This causes an assert: "Assertion failed: (idx < _size), function operator[], file array.h, line 234" after showing the "Unsupported game! [press any key to exit]" message when trying to run an unsupported game.
The expected behaviour would be to either return to the launcher or exit ScummVM cleanly.
Change History (8)
comment:1 by , 21 months ago
comment:2 by , 21 months ago
I seems that pretty much any file you give a .saga extension will be detected by ScummVM as "Scott Adams IF Game".
comment:4 by , 21 months ago
Excellent!
Perhaps we should file a separate bug report or feature request about the fact that the detection code is too permissive in assuming that any .saga file is a valid Scott Adams game.
comment:5 by , 21 months ago
Looked into the code, and it really has no checking for .saga, but not sure if this is by design(intentional) or actually a bug.
comment:7 by , 7 months ago
Yes, seems to be working as intended now. Running an unsupported .saga game will now print an "Unsupported Game!" message and then exit ScummVM.
comment:8 by , 7 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for the reply! closing as fixed
How to reproduce this? What kind of games/files make scumm give unsupported game, please elaborate.