[Scummvm-cvs-logs] SF.net SVN: scummvm: [21345] scummvm/trunk/engines/kyra/sound_adlib.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Fri Mar 17 05:14:01 CET 2006
Revision: 21345
Author: eriktorbjorn
Date: 2006-03-17 05:13:31 -0800 (Fri, 17 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21345&view=rev
Log Message:
-----------
Oops, I never meant to remove *that* line! Put it back again. (This fixes the
flute sound, and probably other regressions as well.)
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_adlib.cpp
Modified: scummvm/trunk/engines/kyra/sound_adlib.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-17 12:03:24 UTC (rev 21344)
+++ scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-17 13:13:31 UTC (rev 21345)
@@ -2200,6 +2200,7 @@
// would have if they were started from anywhere else. Strange.
int newVal = ((((-_sfxFourthByteOfSong) + 63) * 0xFF) >> 8) & 0xFF;
+ newVal = -newVal + 63;
_driver->callback(10, soundId, int(3), newVal);
newVal = ((_sfxPriority * 0xFF) >> 8) & 0xFF;
_driver->callback(10, soundId, int(1), newVal);
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