aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
diff options
context:
space:
mode:
authorJochen Hoenicke2003-08-12 15:40:24 +0000
committerJochen Hoenicke2003-08-12 15:40:24 +0000
commitfef62655f85b8f0337cdce661f785e797abc637f (patch)
tree0014e5b5ecb0d7c4595288e79447b13c1f354960 /scumm/player_v2.cpp
parent442c79671a25dbf3287dd64422bed2467b7f0640 (diff)
downloadscummvm-rg350-fef62655f85b8f0337cdce661f785e797abc637f.tar.gz
scummvm-rg350-fef62655f85b8f0337cdce661f785e797abc637f.tar.bz2
scummvm-rg350-fef62655f85b8f0337cdce661f785e797abc637f.zip
Fixed the freqency of one note. This bug is also in the original Lucas
Arts Games... svn-id: r9648
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r--scumm/player_v2.cpp6
1 files 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)