MOD import: handle Cxx with vol higher than 64
This commit is contained in:
parent
09574edc96
commit
3275d92f99
|
@ -2966,7 +2966,7 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) {
|
||||||
writeFxCol(fxTyp,fxVal);
|
writeFxCol(fxTyp,fxVal);
|
||||||
break;
|
break;
|
||||||
case 12: // set vol
|
case 12: // set vol
|
||||||
data[row][3]=fxVal;
|
data[row][3]=MIN(0x40,fxVal);
|
||||||
break;
|
break;
|
||||||
case 13: // break to row (BCD)
|
case 13: // break to row (BCD)
|
||||||
writeFxCol(fxTyp,((fxVal>>4)*10)+(fxVal&15));
|
writeFxCol(fxTyp,((fxVal>>4)*10)+(fxVal&15));
|
||||||
|
|
Loading…
Reference in New Issue