From d026d1ba845f899b9faa3f45e5f44fba526f5948 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 30 Sep 2020 18:20:06 +0200 Subject: [PATCH] 6840ptm.cpp: initialized array to fix listxml and validate crash --- src/devices/machine/6840ptm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/machine/6840ptm.cpp b/src/devices/machine/6840ptm.cpp index 849e59c05a7..3e460f4c3f1 100644 --- a/src/devices/machine/6840ptm.cpp +++ b/src/devices/machine/6840ptm.cpp @@ -153,6 +153,7 @@ void ptm6840_device::device_reset() m_fired[i] = 0; m_enabled[i] = 0; m_mode[i] = 0; + m_gate[i] = 0; } }