Skip to content

Commit 901a0f2

Browse files
authored
Merge pull request #3 from eliasdaler/main
Various things to make it possible to run on wasm and macOS
2 parents 89d6b67 + 92d33b9 commit 901a0f2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build linux
2-
// +build linux
1+
//go:build !windows
2+
// +build !windows
33

44
package mod
55

music/tracked/xm/instheader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,9 @@ func readInstrumentHeader(r io.Reader) (*InstrumentHeader, error) {
394394

395395
// convert the sample in the background
396396
if (s.Flags & SampleFlag16Bit) != 0 {
397-
go convertSample16Bit(s.SampleData)
397+
convertSample16Bit(s.SampleData)
398398
} else {
399-
go convertSample8Bit(s.SampleData)
399+
convertSample8Bit(s.SampleData)
400400
}
401401
}
402402
return ih, nil

0 commit comments

Comments
 (0)