MCPcopy Create free account
hub / github.com/fogleman/nes / init

Function init

nes/apu.go:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33var tndTable [203]float32
34
35func init() {
36 for i := 0; i < 31; i++ {
37 pulseTable[i] = 95.52 / (8128.0/float32(i) + 100)
38 }
39 for i := 0; i < 203; i++ {
40 tndTable[i] = 163.67 / (24329.0/float32(i) + 100)
41 }
42}
43
44// APU
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…