Fix jar_xm_reset

This commit is contained in:
Wilhem Barbier 2019-05-29 17:14:31 +02:00
parent 20bdc3bc2a
commit e660621389

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 = 1;
ctx->current_table_index = ctx->module.restart_position;
ctx->current_tick = 0;
}