[Scummvm-cvs-logs] CVS: scummvm/scumm player_v2.cpp,2.17,2.18

Jochen Hoenicke hoenicke at users.sourceforge.net
Tue Aug 12 15:43:12 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv28351

Modified Files:
	player_v2.cpp 
Log Message:
Fixed the freqency of one note.  This bug is also in the original Lucas
Arts Games...


Index: player_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/player_v2.cpp,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -d -r2.17 -r2.18
--- player_v2.cpp	5 Aug 2003 17:52:47 -0000	2.17
+++ player_v2.cpp	12 Aug 2003 15:40:24 -0000	2.18
@@ -310,8 +310,8 @@
 };
 
 static const uint16  spk_freq_table[12] = {
-	36484, 34436, 32503, 30679, 29007, 27332, 
-	25798, 24350, 22983, 21693,  20476, 19326
+	36484, 34436, 32503, 30679, 28957, 27332, 
+	25798, 24350, 22983, 21693, 20476, 19326
 };
 
 static const uint16 pcjr_freq_table[12] = {
@@ -413,7 +413,7 @@
 	/* scale to int16, FIXME: find best value */
 	double out = vol * 128 / 3;
 	
-    /* build volume table (2dB per step) */
+	/* build volume table (2dB per step) */
 	for (int i = 0; i < 15; i++) {
 		/* limit volume to avoid clipping */
 		if (out > 0x7fff)





More information about the Scummvm-git-logs mailing list