Opened 18 months ago
Closed 18 months ago
#14498 closed defect (fixed)
SCUMM: INDY3 (MAC): copyRectToSurface assert fails when loading a save
Reported by: | dwatteau | Owned by: | AndywinXp |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Indiana Jones 3 |
Description
Trying to load my Indy3 EGA Macintosh saves from last year, the following assert appears to always be triggered:
Assertion failed: (destX >= 0 && destX < w), function copyRectToSurface, file surface.cpp, line 169.
I'm loading the saves from the GMM, I'm using original_gui=true
and it's a debug build. The saves do work with the same setup in ScummVM 2.7.0.
Git bisect tells me that this is related to commit dd1232325d9b310a85244f78ca5d12c063cf047f
(GRAPHICS: Add support for cursor as Surface
).
Attaching the save and the backtrace below.
Attachments (2)
Change History (5)
by , 18 months ago
Attachment: | scummvm-assert-indy3-ega-macintosh-14498.txt added |
---|
by , 18 months ago
Attachment: | indy3-ega-mac.s26 added |
---|
Example of an Indy3 EGA Macintosh save triggering the assert in current Git master
comment:2 by , 18 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → pending |
Thanks! Should be fixed now :-)
comment:3 by , 18 months ago
Status: | pending → closed |
---|
It's all good! My 40 saves for this game now all load without any issue.
Thank you very much for the very quick fix!
LLDB backtrace when the assert is triggered