MOD import: fix brainless 3

duration 0:00
This commit is contained in:
tildearrow 2022-03-15 22:16:47 -05:00
parent 32da1e94ed
commit 02760ddcbc

View file

@ -1489,12 +1489,14 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) {
effectState[4]=fxVal; effectState[4]=fxVal;
break; break;
case 11: // jump to pos case 11: // jump to pos
case 13: // break to row
writeFxCol(fxTyp,fxVal); writeFxCol(fxTyp,fxVal);
break; break;
case 12: // set vol case 12: // set vol
data[row][3]=fxVal; data[row][3]=fxVal;
break; break;
case 13: // break to row (BCD)
writeFxCol(fxTyp,((fxVal>>4)*10)+(fxVal&15));
break;
case 15: // set speed case 15: // set speed
// TODO: somehow handle VBlank tunes // TODO: somehow handle VBlank tunes
// TODO: klisje is still broken, perhaps because there wasn't tempo set back then? // TODO: klisje is still broken, perhaps because there wasn't tempo set back then?