summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/h8/h8_intc.c
diff options
context:
space:
mode:
author Osso <mesgnet@yahoo.it>2014-12-13 11:36:26 +0100
committer Osso <mesgnet@yahoo.it>2014-12-13 11:36:26 +0100
commitd65e76a77cf6678f33a8c7d650d37c2292f02e8b (patch)
treec849d7d59b84591215cdc384b76b1ed7625090eb /src/emu/cpu/h8/h8_intc.c
parentc838a26a1574c823d2d23535125b570c7959ee77 (diff)
h8_intc.c: added save state support. Puzzlet save state regression not totally fixed, though (nw)
Diffstat (limited to 'src/emu/cpu/h8/h8_intc.c')
-rw-r--r--src/emu/cpu/h8/h8_intc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/cpu/h8/h8_intc.c b/src/emu/cpu/h8/h8_intc.c
index b563cdb63ae..1aeddcaeefe 100644
--- a/src/emu/cpu/h8/h8_intc.c
+++ b/src/emu/cpu/h8/h8_intc.c
@@ -22,6 +22,15 @@ h8_intc_device::h8_intc_device(const machine_config &mconfig, device_type type,
void h8_intc_device::device_start()
{
memset(pending_irqs, 0, sizeof(pending_irqs));
+ save_item(NAME(pending_irqs));
+ save_item(NAME(irq_type));
+ save_item(NAME(nmi_input));
+ save_item(NAME(irq_input));
+ save_item(NAME(ier));
+ save_item(NAME(isr));
+ save_item(NAME(iscr));
+ save_item(NAME(icr_filter));
+ save_item(NAME(ipr_filter));
}
void h8_intc_device::device_reset()
@@ -195,6 +204,7 @@ h8h_intc_device::h8h_intc_device(const machine_config &mconfig, device_type type
void h8h_intc_device::device_start()
{
h8_intc_device::device_start();
+ save_item(NAME(icr));
}
void h8h_intc_device::device_reset()