Previous 199869 Revisions Next

r33856 Saturday 13th December, 2014 at 10:36:26 UTC by Osso
h8_intc.c: added save state support. Puzzlet save state regression not totally fixed, though (nw)
[src/emu/cpu/h8]h8_intc.c

trunk/src/emu/cpu/h8/h8_intc.c
r242367r242368
2222void h8_intc_device::device_start()
2323{
2424   memset(pending_irqs, 0, sizeof(pending_irqs));
25   save_item(NAME(pending_irqs));
26   save_item(NAME(irq_type));
27   save_item(NAME(nmi_input));
28   save_item(NAME(irq_input));
29   save_item(NAME(ier));
30   save_item(NAME(isr));
31   save_item(NAME(iscr));
32   save_item(NAME(icr_filter));
33   save_item(NAME(ipr_filter));
2534}
2635
2736void h8_intc_device::device_reset()
r242367r242368
195204void h8h_intc_device::device_start()
196205{
197206   h8_intc_device::device_start();
207   save_item(NAME(icr));
198208}
199209
200210void h8h_intc_device::device_reset()


Previous 199869 Revisions Next


© 1997-2024 The MAME Team