fix Dxx effect
argument is BCD, so 0x10 actually means 10 decimal
This commit is contained in:
parent
bf138a245c
commit
89e6b9c554
2 changed files with 17 additions and 8 deletions
|
|
@ -122,7 +122,7 @@ function eff_t0_d(ch, data) { // pattern jump
|
|||
if (player.cur_songpos >= player.xm.songpats.length)
|
||||
player.cur_songpos = player.xm.song_looppos;
|
||||
player.cur_pat = player.xm.songpats[player.cur_songpos];
|
||||
player.cur_row = data - 1;
|
||||
player.cur_row = (data >> 4) * 10 + (data & 0x0f) - 1;
|
||||
}
|
||||
|
||||
function eff_t0_e(ch, data) { // extended effects!
|
||||
|
|
|
|||
Loading…
Reference in a new issue