diff options
author | Jochen Hoenicke | 2003-06-01 15:56:40 +0000 |
---|---|---|
committer | Jochen Hoenicke | 2003-06-01 15:56:40 +0000 |
commit | ed0080e55b14b7f890449e5744633da46d41428a (patch) | |
tree | 4864b4a4acf31a878c84fd9077c07b2921cd50d7 | |
parent | cb5fb5d40381d76d6438a6eff882918de0d637a8 (diff) | |
download | scummvm-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
-rw-r--r-- | scumm/player_v2.cpp | 11 |
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; } |