Forcibly ensure .xm playback starts in the right place; fixes #1043. (#1045)

This commit is contained in:
illegalinstruction 2019-12-21 04:02:54 -08:00 • committed by Ray
commit caa1f45643
2 changed files with 2 additions and 1 deletions

View file

@ -2670,7 +2670,7 @@ void jar_xm_reset(jar_xm_context_t* ctx)
jar_xm_cut_note(&ctx->channels[i]);
}
ctx->current_row = 0;
ctx->current_table_index = ctx->module.restart_position;
ctx->current_table_index = 0;
ctx->current_tick = 0;
}