[Scummvm-tracker] [ScummVM :: Bugs] #14468: SCUMM: SAMNMAX: copyRectToSurface() assert triggered in 2.8.0git when loading a save
ScummVM :: Bugs
trac at scummvm.org
Fri May 19 23:51:50 UTC 2023
#14468: SCUMM: SAMNMAX: copyRectToSurface() assert triggered in 2.8.0git when
loading a save
--------------------------------------------+----------------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: copyRectToSurface,cursor,assert | Game: Sam and Max
--------------------------------------------+----------------------------
Comment (by athrxx):
The problem is that in gfx_gui.cpp, lines 1754-1756 it restores 4
variables that actually never get saved in the first place (for version
6). So these variables will be invalid, the cursor width and height will
be zero. This triggers the assert.
The invalid cursor parameters are also in the save files. So it would make
sense to patch these, too...
--
Ticket URL: <https://bugs.scummvm.org/ticket/14468#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list