diff options
author | 2018-10-26 13:46:42 -0400 | |
---|---|---|
committer | 2018-10-26 13:47:25 -0400 | |
commit | 5a61d57123299b531051aee6a1d041eb0353363d (patch) | |
tree | 775ca0b5160129ab73b7194bbb7a14a45f362ae9 | |
parent | aa88c67ee7f6277046e0146105aa1817d1721325 (diff) |
mcs96: Save the int_pending register as well (but note that it is not actually cleared upon reset) (nw)
-rw-r--r-- | src/devices/cpu/mcs96/mcs96.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/mcs96/mcs96.cpp b/src/devices/cpu/mcs96/mcs96.cpp index e7fbf6463a9..76dbb2d8609 100644 --- a/src/devices/cpu/mcs96/mcs96.cpp +++ b/src/devices/cpu/mcs96/mcs96.cpp @@ -58,6 +58,7 @@ void mcs96_device::device_start() state_add(MCS96_CH, "CH", reinterpret_cast<u8 *>(®ister_file[5])[BYTE_XOR_LE(1)]).noshow(); save_item(NAME(inst_state)); + save_item(NAME(pending_irq)); save_item(NAME(PC)); save_item(NAME(PPC)); save_item(NAME(PSW)); @@ -74,7 +75,6 @@ void mcs96_device::device_reset() PC = 0x2080; PPC = PC; PSW = 0; - pending_irq = 0x00; irq_requested = false; inst_state = STATE_FETCH; } |