Update DUMB to revision b97e36954f873516c31c0a8c24054784f3c9d751

- Fixed portamento up effect when NNA channels are active



SVN r4113 (trunk)
This commit is contained in:
Randy Heit 2013-02-08 01:27:30 +00:00
parent 7edd64243b
commit 751983fccd

View file

@ -2266,11 +2266,11 @@ Yxy This uses a table 4 times larger (hence 4 times slower) than
playing = sigrenderer->playing[i]; playing = sigrenderer->playing[i];
if (!playing || playing->channel != channel) continue; if (!playing || playing->channel != channel) continue;
} }
if (channel->playing) { if (playing) {
if ((v & 0xF0) == 0xF0) if ((v & 0xF0) == 0xF0)
channel->playing->slide += (v & 15) << 4; playing->slide += (v & 15) << 4;
else if ((v & 0xF0) == 0xE0) else if ((v & 0xF0) == 0xE0)
channel->playing->slide += (v & 15) << 2; playing->slide += (v & 15) << 2;
else if (i < 0 && sigdata->flags & IT_WAS_A_669) else if (i < 0 && sigdata->flags & IT_WAS_A_669)
channel->portamento += v << 3; channel->portamento += v << 3;
else if (i < 0) else if (i < 0)