summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6840ptm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/6840ptm.cpp')
-rw-r--r--src/devices/machine/6840ptm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/machine/6840ptm.cpp b/src/devices/machine/6840ptm.cpp
index 3e460f4c3f1..21d8c0d80e9 100644
--- a/src/devices/machine/6840ptm.cpp
+++ b/src/devices/machine/6840ptm.cpp
@@ -153,10 +153,14 @@ void ptm6840_device::device_reset()
m_fired[i] = 0;
m_enabled[i] = 0;
m_mode[i] = 0;
- m_gate[i] = 0;
}
}
+void ptm6840_device::device_resolve_objects()
+{
+ for (int i = 0; i < 3; i++)
+ m_gate[i] = 0;
+}
//-------------------------------------------------
// device_timer - handle timer callbacks