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
1 changed files with 4 additions and 4 deletions

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)
@ -2593,7 +2593,7 @@ Yxy This uses a table 4 times larger (hence 4 times slower) than
} }
} }
break; break;
case IT_S: case IT_S:
{ {
/* channel->lastS was set in update_pattern_variables(). */ /* channel->lastS was set in update_pattern_variables(). */
unsigned char effectvalue = channel->lastS; unsigned char effectvalue = channel->lastS;