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

Method Load

nes/mapper40.go:26–30  ·  view source on GitHub ↗
(decoder *gob.Decoder)

Source from the content-addressed store, hash-verified

24}
25
26func (m *Mapper40) Load(decoder *gob.Decoder) error {
27 decoder.Decode(&m.bank)
28 decoder.Decode(&m.cycles)
29 return nil
30}
31
32func (m *Mapper40) Step() {
33 if m.cycles < 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected