summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-11-26 10:27:43 +0100
committer GitHub <noreply@github.com>2019-11-26 10:27:43 +0100
commit4457c9e682189e0d776a3e86fa08b073030889b2 (patch)
tree1ecd955ae8910254b5d32e92a45308377cbfeeb5 /src/devices
parentaa6c62b2b05db1b3cd48538695b96d3708fe00ef (diff)
acorn_vidc.cpp: initialize some stuff (nw)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/acorn_vidc.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/machine/acorn_vidc.cpp b/src/devices/machine/acorn_vidc.cpp
index 358b49dff4c..101c8ad2b4f 100644
--- a/src/devices/machine/acorn_vidc.cpp
+++ b/src/devices/machine/acorn_vidc.cpp
@@ -62,7 +62,17 @@ acorn_vidc10_device::acorn_vidc10_device(const machine_config &mconfig, device_t
, m_dac(*this, "dac%u", 0)
, m_vblank_cb(*this)
, m_sound_drq_cb(*this)
+ , m_pixel_clock(0)
+ , m_bpp_mode(0)
+ , m_crtc_interlace(0)
+ , m_cursor_enable(0)
+ , m_sound_frequency_latch(0)
+ , m_sound_frequency_test_bit(0)
+ , m_sound_mode(0)
+
{
+ std::fill(std::begin(m_crtc_regs), std::end(m_crtc_regs), 0);
+ std::fill(std::begin(m_stereo_image), std::end(m_stereo_image), 0);
}
acorn_vidc10_device::acorn_vidc10_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)