[ scummvm-Patches-1437774 ] KYRA1: Game will crash if bitmap is missing

SourceForge.net noreply at sourceforge.net
Fri Feb 24 00:38:21 CET 2006


Patches item #1437774, was opened at 2006-02-24 00:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1437774&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicolas Joly (njoly)
Assigned to: Nobody/Anonymous (nobody)
Summary: KYRA1: Game will crash if bitmap is missing

Initial Comment:
Hi,

I noticed that scummvm will crash in
KyraEngine::loadBitmap() if bitmap is missing.

I discovered this one because i forgot to copy *.CPS
files from CD, and tried to run the game ... I can
reproduce it at will if i remove the file
`MAIN_FRE.CPS' from the game directory.

The attached patch adds and assertion to verify that
the file was successfully loaded before trying to use it.

Hope this helps,
Regards.

The legend of Kyrandia French CD version.

njoly at cixy [temp/scummvm]> scummvm -v
ScummVM 0.9.0svn (Feb 24 2006 00:25:14)
Features compiled in: MP3 zLib 
njoly at cixy [temp/scummvm]> uname -a
NetBSD cixy.dial.pasteur.fr 3.99.15 NetBSD 3.99.15
(CIXY) #2: Tue Feb 21 01:39:35 CET 2006 
njoly at cixy.dial.pasteur.fr:/local/src/NetBSD/obj/i386/sys/arch/i386/compile/CIXY
i386


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1437774&group_id=37116




More information about the Scummvm-tracker mailing list