mirror of https://github.com/bsnes-emu/bsnes.git
30 lines
779 B
C++
30 lines
779 B
C++
auto MCC::serialize(serializer& s) -> void {
|
|
s.array(psram.data(), psram.size());
|
|
s.integer(irq.flag);
|
|
s.integer(irq.enable);
|
|
s.integer(r.mapping);
|
|
s.integer(r.psramEnableLo);
|
|
s.integer(r.psramEnableHi);
|
|
s.integer(r.psramMapping);
|
|
s.integer(r.romEnableLo);
|
|
s.integer(r.romEnableHi);
|
|
s.integer(r.exEnableLo);
|
|
s.integer(r.exEnableHi);
|
|
s.integer(r.exMapping);
|
|
s.integer(r.bsWritable);
|
|
s.integer(r.unknown);
|
|
s.integer(w.mapping);
|
|
s.integer(w.psramEnableLo);
|
|
s.integer(w.psramEnableHi);
|
|
s.integer(w.psramMapping);
|
|
s.integer(w.romEnableLo);
|
|
s.integer(w.romEnableHi);
|
|
s.integer(w.exEnableLo);
|
|
s.integer(w.exEnableHi);
|
|
s.integer(w.exMapping);
|
|
s.integer(w.bsWritable);
|
|
s.integer(w.unknown);
|
|
s.integer(x.enable);
|
|
s.integer(x.value);
|
|
}
|