Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mcs96: Save the int_pending register as well (but note that it is not…
… actually cleared upon reset) (nw)
  • Loading branch information
ajrhacker committed Oct 26, 2018
1 parent aa88c67 commit 5a61d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/cpu/mcs96/mcs96.cpp
Expand Up @@ -58,6 +58,7 @@ void mcs96_device::device_start()
state_add(MCS96_CH, "CH", reinterpret_cast<u8 *>(&register_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));
Expand All @@ -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;
}
Expand Down

0 comments on commit 5a61d57

Please sign in to comment.