From e660621389d32bb35be78a67968155a26478c32b Mon Sep 17 00:00:00 2001 From: Wilhem Barbier Date: Wed, 29 May 2019 17:14:31 +0200 Subject: [PATCH] Fix jar_xm_reset --- src/external/jar_xm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/jar_xm.h b/src/external/jar_xm.h index 36b774d23..de6ad4107 100644 --- a/src/external/jar_xm.h +++ b/src/external/jar_xm.h @@ -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; }