mirror of https://github.com/bsnes-emu/bsnes.git
33 lines
694 B
C++
33 lines
694 B
C++
void ICD2::serialize(serializer& s) {
|
|
Thread::serialize(s);
|
|
GameBoy::system.serialize_all(s);
|
|
|
|
for(unsigned n = 0; n < 64; n++) s.array(packet[n].data);
|
|
s.integer(packetsize);
|
|
|
|
s.integer(joyp_id);
|
|
s.integer(joyp15lock);
|
|
s.integer(joyp14lock);
|
|
s.integer(pulselock);
|
|
s.integer(strobelock);
|
|
s.integer(packetlock);
|
|
s.array(joyp_packet.data);
|
|
s.integer(packetoffset);
|
|
s.integer(bitdata);
|
|
s.integer(bitoffset);
|
|
|
|
s.integer(r6003);
|
|
s.integer(r6004);
|
|
s.integer(r6005);
|
|
s.integer(r6006);
|
|
s.integer(r6007);
|
|
s.array(r7000);
|
|
s.integer(mlt_req);
|
|
|
|
s.array(output);
|
|
s.integer(read_bank);
|
|
s.integer(read_addr);
|
|
s.integer(write_bank);
|
|
s.integer(write_addr);
|
|
}
|