IT/S3M import: implement S8x
This commit is contained in:
parent
e15ff1fe08
commit
6e405d4a99
2 changed files with 9 additions and 0 deletions
|
|
@ -1075,6 +1075,10 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
|
|||
break;
|
||||
case 'S': // special...
|
||||
switch (effectVal>>4) {
|
||||
case 0x8:
|
||||
p->data[readRow][effectCol[chan]++]=0x80;
|
||||
p->data[readRow][effectCol[chan]++]=(effectVal&15)<<4;
|
||||
break;
|
||||
case 0xc:
|
||||
p->data[readRow][effectCol[chan]++]=0xec;
|
||||
p->data[readRow][effectCol[chan]++]=effectVal&15;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue