From 19dfc7e9786e011cf28eefe4517307e903f515ef Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sat, 4 Jul 2020 08:11:33 +0200 Subject: devices/machine/saa1043, mame/video/k057714: fixed some initialization problems noticed in debug devnoclear builds --- src/devices/machine/saa1043.cpp | 1 + src/mame/video/k057714.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/devices/machine/saa1043.cpp b/src/devices/machine/saa1043.cpp index 7e480ddcf4b..c6766cf5b7e 100644 --- a/src/devices/machine/saa1043.cpp +++ b/src/devices/machine/saa1043.cpp @@ -22,6 +22,7 @@ DEFINE_DEVICE_TYPE(SAA1043, saa1043_device, "saa1043", "Philips SAA1043") saa1043_device::saa1043_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SAA1043, tag, owner, clock) , m_outputs(*this) + , m_type(PAL) { std::fill(std::begin(m_outputs_hooked), std::end(m_outputs_hooked), false); } diff --git a/src/mame/video/k057714.cpp b/src/mame/video/k057714.cpp index 4771c5898cf..6e336987041 100644 --- a/src/mame/video/k057714.cpp +++ b/src/mame/video/k057714.cpp @@ -40,6 +40,8 @@ void k057714_device::device_reset() m_fb_origin_x = 0; m_fb_origin_y = 0; + m_reg_6c = 0; + for (auto & elem : m_frame) { elem.base = 0; -- cgit v1.2.3