[Scummvm-cvs-logs] SF.net SVN: scummvm:[43024] scummvm/branches/branch-1-0-0/engines/cruise/ sound.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Mon Aug 3 11:30:45 CEST 2009
Revision: 43024
http://scummvm.svn.sourceforge.net/scummvm/?rev=43024&view=rev
Author: dreammaster
Date: 2009-08-03 09:30:45 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
Backport of bugfix to correctly reset the music tempo when loading a savegame
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/cruise/sound.cpp
Modified: scummvm/branches/branch-1-0-0/engines/cruise/sound.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/cruise/sound.cpp 2009-08-03 09:28:06 UTC (rev 43023)
+++ scummvm/branches/branch-1-0-0/engines/cruise/sound.cpp 2009-08-03 09:30:45 UTC (rev 43024)
@@ -766,6 +766,10 @@
for (int i = 0; i < NUM_CHANNELS; ++i) {
_instrumentsChannelTable[i] = -1;
}
+
+ _numOrders = _sfxData[470];
+ _eventsDelay = (244 - _sfxData[471]) * 100 / 1060;
+ _updateTicksCounter = 0;
}
s.syncAsSint16LE(_songPlayed);
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