feat(tracker): multithreading is enabled with a separate bool toggle

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2026-01-31 20:50:00 +02:00
parent 4bb5df9c87
commit 287bd036a6
7 changed files with 44 additions and 25 deletions

View File

@ -237,7 +237,7 @@ func (m *InstrModel) warnAboutCrossThreadSends() {
func (m *InstrModel) warnNoMultithreadSupport() {
for _, instr := range m.d.Song.Patch {
if instr.ThreadMaskM1 > 0 && !m.synthers[m.syntherIndex].SupportsMultithreading() {
if instr.ThreadMaskM1 > 0 && !m.curSynther.SupportsMultithreading() {
(*Alerts)(m).AddNamed("NoMultithreadSupport", "The current synth does not support multithreading and the patch was configured to use more than one thread", Warning)
return
}