fix: tracker mixer flags not setup properly on fresh boot

This commit is contained in:
minjaesong
2026-05-02 23:43:07 +09:00
parent 1bbf0de381
commit 6a7ef670d9
7 changed files with 23 additions and 4 deletions

View File

@@ -1209,7 +1209,7 @@ def build_sample_inst_bin_it(samples_or_proxy: list,
struct.pack_into('<I', inst_bin, base + 0, ptr)
struct.pack_into('<H', inst_bin, base + 4, s_len)
struct.pack_into('<H', inst_bin, base + 6, c2spd)
struct.pack_into('<H', inst_bin, base + 8, 0) # play start
struct.pack_into('<H', inst_bin, base + 8, 0) # play start. IT samples always start playing from zero
struct.pack_into('<H', inst_bin, base + 10, ls)
struct.pack_into('<H', inst_bin, base + 12, le)
inst_bin[base + 14] = flags_byte