Browse Source

Fix jar_xm_reset

Wilhem Barbier 6 years ago
parent
commit
e660621389
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/external/jar_xm.h

+ 1 - 1
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;
 }