[Scummvm-tracker] [ScummVM :: Bugs] #16580: SHERLOCK: ROSETATTOO: Game breaks when in Phrenologist's Studio
ScummVM :: Bugs
trac at scummvm.org
Sat Feb 28 10:54:11 UTC 2026
#16580: SHERLOCK: ROSETATTOO: Game breaks when in Phrenologist's Studio
-------------------------+-------------------------------------------------
Reporter: | Owner: antoniou79
paradroid76-maker |
Type: defect | Status: pending
Priority: normal | Component: Engine: Sherlock
Version: | Resolution: fixed
Keywords: Sherlock | Game: Sherlock Holmes: Case of the Rose
| Tattoo
-------------------------+-------------------------------------------------
Changes (by antoniou79):
* owner: (none) => antoniou79
* resolution: => fixed
* status: new => pending
Comment:
This is caused by a bug in the sherlock\tattoo\widget_inventory.cpp code
for the text tooltip line splitting, which would not set a valid height
for the surface, leaving it at 0.
The bug was that the code was attempting to split the tooltip text at a
trailing space, which some of the tooltips do have, but this special case
was not anticipated by the code logic, so the height for the surface was
never set to a valid value, and instead kept its initial 0 value. Thus,
the code would throw an assertion fault later on (at
https://github.com/scummvm/scummvm/blob/d2c9a9df4888e112dcc1f4822d962747f7c90783/graphics/surface.h?plain=1#L187)
This should be fixed by commit:
https://github.com/scummvm/scummvm/commit/15c477d631ff8dac78368b21d61831746b4c4a37
Please test starting with tomorrow's daily development build (2026.1.1git)
to confirm.
--
Ticket URL: <https://bugs.scummvm.org/ticket/16580#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list