Fixed ft2play tone portamento

CQTexperiment
Chris Moeller 2014-11-04 17:55:02 -08:00
parent 4acbb21f99
commit 9eb0037780
1 changed files with 2 additions and 2 deletions

View File

@ -1636,7 +1636,7 @@ static void TonePorta(PLAYER *p, StmTyp *ch)
ch->RealPeriod -= ch->PortaSpeed;
if (ch->RealPeriod <= ch->WantPeriod)
{
ch->PortaDir = 1;
ch->PortaDir = 0;
ch->RealPeriod = ch->WantPeriod;
}
}
@ -1645,7 +1645,7 @@ static void TonePorta(PLAYER *p, StmTyp *ch)
ch->RealPeriod += ch->PortaSpeed;
if (ch->RealPeriod >= ch->WantPeriod)
{
ch->PortaDir = 1;
ch->PortaDir = 0;
ch->RealPeriod = ch->WantPeriod;
}
}