Skip to content

Commit 3d16020

Browse files
committed
Add documentation
1 parent 609cbbe commit 3d16020

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

audio/memory.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
package audio
55

66
var (
7-
Sfx [64]SoundEffect
8-
Pat [64]Pattern
7+
Sfx [64]SoundEffect // Sound effects
8+
Pat [64]Pattern // Music patterns
99
)
1010

11+
// Sync is required for changes made to Sfx and Pat to be audible.
12+
// Sync is automatically run after each command issued via devtools terminal.
1113
func Sync() {
1214
for i, sfx := range Sfx {
1315
system.SetSfx(i, sfx)

0 commit comments

Comments
 (0)