mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 22:15:14 +00:00
S3M import; fix range of X effect
This commit is contained in:
parent
f68249f52b
commit
77ab02a173
1 changed files with 4 additions and 2 deletions
|
@ -1015,8 +1015,10 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
|
|||
case 'W': // global volume slide (!)
|
||||
break;
|
||||
case 'X': // panning (extension)
|
||||
if (effectVal<=0x80) {
|
||||
p->data[curRow][effectCol[chan]++]=0x80;
|
||||
p->data[curRow][effectCol[chan]++]=effectVal;
|
||||
p->data[curRow][effectCol[chan]++]=(effectVal&0x80)?0xff:(effectVal<<1);
|
||||
}
|
||||
break;
|
||||
case 'Y': // panbrello (extension)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue