From fef62655f85b8f0337cdce661f785e797abc637f Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Tue, 12 Aug 2003 15:40:24 +0000 Subject: Fixed the freqency of one note. This bug is also in the original Lucas Arts Games... svn-id: r9648 --- scumm/player_v2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp index ff9e6f1fca..c2e97a7e87 100644 --- a/scumm/player_v2.cpp +++ b/scumm/player_v2.cpp @@ -310,8 +310,8 @@ static const int8 freqmod_table[0x502] = { }; 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 @@ void Player_V2::set_master_volume (int vol) { /* 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) -- cgit v1.2.3