[Scummvm-cvs-logs] SF.net SVN: scummvm:[47153] scummvm/trunk/engines/teenagent
megath at users.sourceforge.net
megath at users.sourceforge.net
Fri Jan 8 13:17:41 CET 2010
Revision: 47153
http://scummvm.svn.sourceforge.net/scummvm/?rev=47153&view=rev
Author: megath
Date: 2010-01-08 12:17:41 +0000 (Fri, 08 Jan 2010)
Log Message:
-----------
removed useless initializations
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/music.cpp
scummvm/trunk/engines/teenagent/music.h
Modified: scummvm/trunk/engines/teenagent/music.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/music.cpp 2010-01-08 11:32:53 UTC (rev 47152)
+++ scummvm/trunk/engines/teenagent/music.cpp 2010-01-08 12:17:41 UTC (rev 47153)
@@ -79,14 +79,6 @@
_rows.clear();
Row row;
- row.channels[0].sample = 0;
- row.channels[1].sample = 0;
- row.channels[2].sample = 0;
-
- row.channels[0].volume = 64;
- row.channels[1].volume = 64;
- row.channels[2].volume = 64;
-
while (!stream->eos()) {
byte cmd = stream->readByte();
Modified: scummvm/trunk/engines/teenagent/music.h
===================================================================
--- scummvm/trunk/engines/teenagent/music.h 2010-01-08 11:32:53 UTC (rev 47152)
+++ scummvm/trunk/engines/teenagent/music.h 2010-01-08 12:17:41 UTC (rev 47153)
@@ -50,7 +50,7 @@
byte sample;
byte volume;
byte note;
- Channel(): sample(0), volume(0), note(0) {}
+ Channel(): sample(0), volume(0x40), note(0) {}
} channels[3];
};
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