[Scummvm-tracker] [ScummVM :: Bugs] #14255: GLK: SCOTT: Hulk: "System messages" not shown

ScummVM :: Bugs trac at scummvm.org
Tue Feb 21 00:56:50 UTC 2023


#14255: GLK: SCOTT: Hulk: "System messages" not shown
-----------------------+--------------------------------
Reporter:  angstsmurf  |      Owner:  (none)
    Type:  defect      |     Status:  new
Priority:  normal      |  Component:  Engine: GLK: Scott
 Version:              |   Keywords:
    Game:              |
-----------------------+--------------------------------
 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
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14255>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list