aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
diff options
context:
space:
mode:
authorJochen Hoenicke2003-06-01 15:56:40 +0000
committerJochen Hoenicke2003-06-01 15:56:40 +0000
commited0080e55b14b7f890449e5744633da46d41428a (patch)
tree4864b4a4acf31a878c84fd9077c07b2921cd50d7 /scumm/player_v2.cpp
parentcb5fb5d40381d76d6438a6eff882918de0d637a8 (diff)
downloadscummvm-rg350-ed0080e55b14b7f890449e5744633da46d41428a.tar.gz
scummvm-rg350-ed0080e55b14b7f890449e5744633da46d41428a.tar.bz2
scummvm-rg350-ed0080e55b14b7f890449e5744633da46d41428a.zip
Added new note-lengths of indy3ega/loom. Fixed internote spacing.
svn-id: r8242
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r--scumm/player_v2.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp
index a07524ec93..8943bb1b88 100644
--- a/scumm/player_v2.cpp
+++ b/scumm/player_v2.cpp
@@ -39,10 +39,11 @@ const uint8 note_lengths[] = {
0,
0, 0, 2,
0, 3, 4,
- 0, 6, 8,
- 0, 12, 16,
- 0, 24, 32,
- 0, 48, 64
+ 5, 6, 8,
+ 9, 12, 16,
+ 18, 24, 32,
+ 36, 48, 64,
+ 96
};
static const uint16 hull_offsets[] = {
@@ -745,7 +746,7 @@ void Player_V2::next_freqs(ChannelInfo *channel) {
channel->d.freq);
if (channel->d.note_length && !--channel->d.note_length) {
- channel->d.hull_offset += 16;
+ channel->d.hull_offset = 16;
channel->d.hull_counter = 1;
}