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

Method stepLength

nes/apu.go:470–474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468}
469
470func (p *Pulse) stepLength() {
471 if p.lengthEnabled && p.lengthValue > 0 {
472 p.lengthValue--
473 }
474}
475
476func (p *Pulse) sweep() {
477 delta := p.timerPeriod >> p.sweepShift

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected