[Scummvm-cvs-logs] SF.net SVN: scummvm: [22367] scummvm/trunk/engines/simon/animation.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sat May 6 01:35:01 CEST 2006
Revision: 22367
Author: kirben
Date: 2006-05-06 01:33:52 -0700 (Sat, 06 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22367&view=rev
Log Message:
-----------
Ooops, skip WAV data, before changing size var
Modified Paths:
--------------
scummvm/trunk/engines/simon/animation.cpp
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp 2006-05-06 08:30:39 UTC (rev 22366)
+++ scummvm/trunk/engines/simon/animation.cpp 2006-05-06 08:33:52 UTC (rev 22367)
@@ -207,6 +207,8 @@
if (_sequenceNum) {
Common::File in;
+ _fd.seek(size, SEEK_CUR);
+
in.open((const char *)"audio.wav");
if (in.isOpen() == false) {
error("Can't read offset file 'audio.wav'");
@@ -220,8 +222,6 @@
in.seek(offset, SEEK_SET);
in.read(buffer, size);
in.close();
-
- _fd.seek(size, SEEK_CUR);
} else {
buffer = (byte *)malloc(size);
_fd.read(buffer, size);
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