Opened 15 months ago

Last modified 12 months ago

#14255 closed defect

GLK: SCOTT: Hulk: "System messages" not shown — at Initial Version

Reported by: angstsmurf Owned by:
Priority: normal Component: Engine: GLK: Scott
Version: Keywords:
Cc: Game:

Description

In Questprobe featuring the Hulk, many "systems messages" (those common to all ScottFree games) such as "TELL ME WHAT TO DO" and "I'm in a " are not displayed.

There is some kind of memory corruption here, because when I tried to debug this by outputting all systems messages to the console as warnings, they suddenly started working just fine.

The messages are assigned to the Common::StringArray _sys in Globals at line 141 of load_game.cpp:

https://github.com/scummvm/scummvm/blob/0be224bd5b949ee37ba3d68b3d04eec9c801b272/engines/glk/scott/load_game.cpp#L141

They are pointers to the array of const char g_sysDictZX defined at line 266 in ´game_info.cpp`:

https://github.com/scummvm/scummvm/blob/0be224bd5b949ee37ba3d68b3d04eec9c801b272/engines/glk/scott/game_info.cpp#L226


Change History (2)

by angstsmurf, 15 months ago

Attachment: hulk_missing_text.png added

by angstsmurf, 15 months ago

Attachment: hulk_no_missing.png added

What it.is supposed to look like. Note the TELL ME WHAT TO DO? message.

Note: See TracTickets for help on using tickets.