MOD import: handle Cxx with vol higher than 64

This commit is contained in:
tildearrow 2022-11-09 03:52:49 -05:00
parent 09574edc96
commit 3275d92f99
1 changed files with 1 additions and 1 deletions

View File

@ -2966,7 +2966,7 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) {
writeFxCol(fxTyp,fxVal);
break;
case 12: // set vol
data[row][3]=fxVal;
data[row][3]=MIN(0x40,fxVal);
break;
case 13: // break to row (BCD)
writeFxCol(fxTyp,((fxVal>>4)*10)+(fxVal&15));