mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 23:13:01 +00:00
fix 0Bxx and 0Dxx commands
now wiz lab and sixeight-v2 play correctly TODO: fix walkSong
This commit is contained in:
parent
0e633ea69b
commit
8edcbc8d39
1 changed files with 2 additions and 2 deletions
|
@ -509,13 +509,13 @@ void DivEngine::processRow(int i, bool afterDelay) {
|
||||||
if (effectVal>0) speed2=effectVal;
|
if (effectVal>0) speed2=effectVal;
|
||||||
break;
|
break;
|
||||||
case 0x0b: // change order
|
case 0x0b: // change order
|
||||||
if (changeOrd<0) {
|
if (changeOrd==-1) {
|
||||||
changeOrd=effectVal;
|
changeOrd=effectVal;
|
||||||
changePos=0;
|
changePos=0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x0d: // next order
|
case 0x0d: // next order
|
||||||
if (changeOrd<0) {
|
if (changeOrd<0 && curOrder<(song.ordersLen-1)) {
|
||||||
changeOrd=-2;
|
changeOrd=-2;
|
||||||
changePos=effectVal;
|
changePos=effectVal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue