command stream export: offset porta target
C-(-5) is now 0 and B-9 is 179 (offset by +60)
This commit is contained in:
parent
0a9b91c25c
commit
da68b82df4
2 changed files with 7 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ bool DivCSPlayer::tick() {
|
|||
chan[i].volSpeedTarget=-1;
|
||||
break;
|
||||
case 0xc9: // porta
|
||||
chan[i].portaTarget=(signed char)stream.readC();
|
||||
chan[i].portaTarget=(int)((unsigned char)stream.readC())-60;
|
||||
chan[i].portaSpeed=(unsigned char)stream.readC();
|
||||
break;
|
||||
case 0xca: { // legato
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue