[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.177,1.178
Travis Howell
kirben at users.sourceforge.net
Sat Jul 19 00:33:18 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9005
Modified Files:
sound.cpp
Log Message:
Change back to warning
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- sound.cpp 19 Jul 2003 04:32:35 -0000 1.177
+++ sound.cpp 19 Jul 2003 07:32:26 -0000 1.178
@@ -402,8 +402,8 @@
ptr += 0x20;
size -= 0x20;
if (size < waveSize) {
- error("Wrong wave size in sound #%i: %i", soundID, waveSize);
- return;
+ warning("Wrong wave size in sound #%i: %i", soundID, waveSize);
+ waveSize = size;
}
sound = (char *)malloc(waveSize);
for (int x = 0; x < waveSize; x++) {
More information about the Scummvm-git-logs
mailing list