test for effect Axy

This commit is contained in:
Andy Sloane 2015-11-14 08:27:17 -08:00
commit 267ecbeffb
3 changed files with 50 additions and 6 deletions

View file

@ -95,11 +95,7 @@ function eff_t0_9(ch, data) { // sample offset
function eff_t0_a(ch, data) { // volume slide
if (data) {
if (data & 0x0f) {
ch.volumeslide = -(data & 0x0f);
} else {
ch.volumeslide = data >> 4;
}
ch.volumeslide = -(data & 0x0f) + (data >> 4);
}
}