From 86611e6459bd7ec3109d2414cefc30b47c602941 Mon Sep 17 00:00:00 2001 From: ptarabbia Date: Thu, 16 Dec 2021 10:27:31 -0500 Subject: [PATCH] Fix issue #2092 (#2215) --- src/external/jar_xm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/external/jar_xm.h b/src/external/jar_xm.h index 82170f54d..469697421 100644 --- a/src/external/jar_xm.h +++ b/src/external/jar_xm.h @@ -2253,6 +2253,7 @@ void jar_xm_reset(jar_xm_context_t* ctx) { for (uint16_t i = 0; i < jar_xm_get_number_of_channels(ctx); i++) { jar_xm_cut_note(&ctx->channels[i]); } + ctx->generated_samples = 0; ctx->current_row = 0; ctx->current_table_index = 0; ctx->current_tick = 0;