[Scummvm-cvs-logs] SF.net SVN: scummvm: [21528] scummvm/trunk/engines/scumm/scumm.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Apr 1 10:14:00 CEST 2006
Revision: 21528
Author: fingolfin
Date: 2006-04-01 10:13:06 -0800 (Sat, 01 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21528&view=rev
Log Message:
-----------
Generate an error when kGenAsIs is used with an unsupported platform, instead of silently continuing with a bogus _fileHandle (leading to odd crashes)
Modified Paths:
--------------
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2006-04-01 17:36:43 UTC (rev 21527)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2006-04-01 18:13:06 UTC (rev 21528)
@@ -184,6 +184,8 @@
assert(_game.version >= 5 && _game.heversion == 0);
_fileHandle = new ScummFile();
_containerFile = _substResFileName.expandedName;
+ } else {
+ error("kGenAsIs used with unsupported platform");
}
// If a container file is used, we can turn of file name substitution.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list