summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-03-10 13:23:15 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-03-10 13:23:15 +0000
commitfe36f872390885a181844708e6459d4d85f1c2fc (patch)
tree166b717773991209df6af1a435e20fccc008b890 /src
parent758a377a6509f38d3760b384089df791aed2f14f (diff)
n68681: Don't trust the start order (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/machine/n68681.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/machine/n68681.c b/src/emu/machine/n68681.c
index aa0b5bf8d6c..461aa1d608d 100644
--- a/src/emu/machine/n68681.c
+++ b/src/emu/machine/n68681.c
@@ -74,7 +74,8 @@ duartn68681_device::duartn68681_device(const machine_config &mconfig, const char
ip3clk(0),
ip4clk(0),
ip5clk(0),
- ip6clk(0)
+ ip6clk(0),
+ IP_last_state(0)
{
}
@@ -106,8 +107,6 @@ void duartn68681_device::device_start()
duart_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(duartn68681_device::duart_timer_callback),this), NULL);
- IP_last_state = 0;
-
save_item(NAME(ACR));
save_item(NAME(IMR));
save_item(NAME(ISR));