[Scummvm-cvs-logs] SF.net SVN: scummvm: [32091] scummvm/trunk/engines/gob/dataio.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue May 13 21:53:16 CEST 2008
Revision: 32091
http://scummvm.svn.sourceforge.net/scummvm/?rev=32091&view=rev
Author: drmccoy
Date: 2008-05-13 12:53:14 -0700 (Tue, 13 May 2008)
Log Message:
-----------
Added a warning when all chunk slots are full, as that's still a problem in Woodruff (some videos aren't closed correctly yet).
Modified Paths:
--------------
scummvm/trunk/engines/gob/dataio.cpp
Modified: scummvm/trunk/engines/gob/dataio.cpp
===================================================================
--- scummvm/trunk/engines/gob/dataio.cpp 2008-05-13 18:43:26 UTC (rev 32090)
+++ scummvm/trunk/engines/gob/dataio.cpp 2008-05-13 19:53:14 UTC (rev 32091)
@@ -232,8 +232,10 @@
if (_chunkPos[file * MAX_SLOT_COUNT + slot] == -1)
break;
- if (slot == MAX_SLOT_COUNT)
+ if (slot == MAX_SLOT_COUNT) {
+ warning("Chunk slots full");
return -1;
+ }
dataDesc = _dataFiles[file];
for (int16 chunk = 0; chunk < _numDataChunks[file]; chunk++, dataDesc++) {
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