[Scummvm-cvs-logs] SF.net SVN: scummvm: [22140] scummvm/trunk/engines/simon/animation.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Mon Apr 24 10:11:01 CEST 2006
Revision: 22140
Author: eriktorbjorn
Date: 2006-04-24 10:10:15 -0700 (Mon, 24 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22140&view=rev
Log Message:
-----------
If startSound() can't find a WAVE chunk, set the file position to the beginning
of the chunk again. Otherwise, animations without a sound track (such as
disk1.dxa) will fail to play.
Modified Paths:
--------------
scummvm/trunk/engines/simon/animation.cpp
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp 2006-04-24 10:35:57 UTC (rev 22139)
+++ scummvm/trunk/engines/simon/animation.cpp 2006-04-24 17:10:15 UTC (rev 22140)
@@ -180,6 +180,8 @@
_mixer->stopHandle(_bgSound);
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_bgSound, _bgSoundStream);
free(buffer);
+ } else {
+ _fd.seek(-4, SEEK_CUR);
}
}
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