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