[Scummvm-tracker] [ScummVM :: Bugs] #17437: SCUMM: Loom (VGA): Text can appear on top of the game's own GUI

ScummVM :: Bugs trac at scummvm.org
Mon Nov 16 14:22:47 UTC 2026


#17437: SCUMM: Loom (VGA): Text can appear on top of the game's own GUI
-------------------------+----------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: SCUMM
 Version:                |  Resolution:
Keywords:                |        Game:  Loom
-------------------------+----------------------------
Comment (by Udayscode):

 one more thing i noticed while going through the history.

 the Loom v3 workaround added in 89009fedcdd clears the _textSurface rows
 overlapping kMainVirtScreen using 0xFD, instead of calling
 restoreCharsetBg()

 in saveSurfacesPreGUI(), this is currently restricted to v3:
 {{{
 #!cpp
 if (_game.id == GID_LOOM && _game.version == 3 && _game.platform !=
 Common::kPlatformFMTowns)
 }}}

 Loom VGA is v4 ,so it skips this workaround too..At the same time it skips
 the normal restoreCharsetBg() path because of the existing Loom checks.
 That seems to be why text stays on _textSurface and overlaps the GUI

 maybe extending this workaround to v4 by dropping just the &&
 _game.version == 3 check is worth trying? that would leave the other Loom
 safeguards and _postGUICharMask handling untouched

 I haven't tested this with the actual game.. just noticed it while tracing
 the code. leaving this here in case its helpful while looking into it.

 and sorry again for rushing that PR.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/17437#comment:8>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list