bsnes/higan/md/cpu/serialization.cpp

15 lines
295 B
C++

auto CPU::serialize(serializer& s) -> void {
M68K::serialize(s);
Thread::serialize(s);
s.array(ram);
s.boolean(io.version);
s.boolean(io.romEnable);
s.boolean(io.vdpEnable[0]);
s.boolean(io.vdpEnable[1]);
s.integer(state.interruptLine);
s.integer(state.interruptPending);
}