(encoder *gob.Encoder)
| 18 | } |
| 19 | |
| 20 | func (m *Mapper3) Save(encoder *gob.Encoder) error { |
| 21 | encoder.Encode(m.chrBank) |
| 22 | encoder.Encode(m.prgBank1) |
| 23 | encoder.Encode(m.prgBank2) |
| 24 | return nil |
| 25 | } |
| 26 | |
| 27 | func (m *Mapper3) Load(decoder *gob.Decoder) error { |
| 28 | decoder.Decode(&m.chrBank) |
nothing calls this directly
no outgoing calls
no test coverage detected