mirror of https://github.com/bsnes-emu/bsnes.git
24 lines
560 B
C++
24 lines
560 B
C++
void CPU::serialize(serializer& s) {
|
|
R6502::serialize(s);
|
|
Thread::serialize(s);
|
|
|
|
s.array(ram);
|
|
|
|
s.integer(status.interrupt_pending);
|
|
s.integer(status.nmi_pending);
|
|
s.integer(status.nmi_line);
|
|
s.integer(status.irq_line);
|
|
s.integer(status.irq_apu_line);
|
|
|
|
s.integer(status.rdy_line);
|
|
s.integer(status.rdy_addr_valid);
|
|
s.integer(status.rdy_addr_value);
|
|
|
|
s.integer(status.oam_dma_pending);
|
|
s.integer(status.oam_dma_page);
|
|
|
|
s.integer(status.controller_latch);
|
|
s.integer(status.controller_port0);
|
|
s.integer(status.controller_port1);
|
|
}
|