[Scummvm-tracker] [ScummVM :: Bugs] #14468: SCUMM: SAMNMAX: copyRectToSurface() assert triggered in 2.8.0git when loading a save

ScummVM :: Bugs trac at scummvm.org
Mon May 22 05:54:32 UTC 2023


#14468: SCUMM: SAMNMAX: copyRectToSurface() assert triggered in 2.8.0git when
loading a save
--------------------------------------------+----------------------------
Reporter:  dwatteau                         |       Owner:  AndywinXp
    Type:  defect                           |      Status:  closed
Priority:  normal                           |   Component:  Engine: SCUMM
 Version:                                   |  Resolution:  fixed
Keywords:  copyRectToSurface,cursor,assert  |        Game:  Sam and Max
--------------------------------------------+----------------------------
Changes (by AndywinXp):

 * status:  pending => closed

Comment:

 Great, thanks! Yes, the reason why you are not seeing a messed up cursor
 is that the post-save/load script is ''always'' being executed before
 rendering anything, so a proper cursor image - along with the correct
 width, height and hotspot values - gets loaded anyway.

 So I could have assigned a height of 2 and a width of 67 and it still
 would have worked, just as long as those values were not zero :-)
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14468#comment:12>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list