summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-09-30 17:12:49 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-09-30 17:12:49 +0200
commitb32b366d9f0e339eb300d67a26cd5694741173dc (patch)
treea0af76981082c1d56edbe357d1fe69e495f8f85e
parent868a424e27acf27b30fc948005f2723d83f65bbf (diff)
pdp1.cpp: initialized 3 more variables that were causing crashes while running in gdb
-rw-r--r--src/mame/drivers/pdp1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/pdp1.cpp b/src/mame/drivers/pdp1.cpp
index c488ea3bf62..384c86596b9 100644
--- a/src/mame/drivers/pdp1.cpp
+++ b/src/mame/drivers/pdp1.cpp
@@ -676,6 +676,8 @@ void pdp1_typewriter_device::device_resolve_objects()
void pdp1_typewriter_device::device_start()
{
m_tyo_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(pdp1_typewriter_device::tyo_callback),this));
+
+ m_color = m_pos = m_case_shift = 0;
}