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