summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-10-09 21:55:13 +1100
committer Vas Crabb <vas@vastheman.com>2020-10-09 21:55:40 +1100
commit981c9023fadad30c4594a654cb955768ad0c9ddb (patch)
tree2d735c11906b4b461f3931a22c3d52f4e6fc54a3 /src/devices/video
parent50b5c69e5cb19bd006c6a2a9cf1112bbf2d0ead8 (diff)
video/mc6845.cpp: Fix some uninitialised variables.
Diffstat (limited to 'src/devices/video')
-rw-r--r--src/devices/video/mc6845.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp
index 4370cf6e457..1c07454d077 100644
--- a/src/devices/video/mc6845.cpp
+++ b/src/devices/video/mc6845.cpp
@@ -108,6 +108,7 @@ mc6845_device::mc6845_device(const machine_config &mconfig, device_type type, co
: device_t(mconfig, type, tag, owner, clock)
, device_video_interface(mconfig, *this, false)
, m_show_border_area(true)
+ , m_noninterlace_adjust(0)
, m_interlace_adjust(0)
, m_clk_scale(1)
, m_visarea_adjust_min_x(0)
@@ -1250,6 +1251,7 @@ void mc6845_device::device_start()
m_horiz_char_total = 0xff;
m_max_ras_addr = 0x1f;
m_vert_char_total = 0x7f;
+ m_mode_control = 0x00;
m_supports_disp_start_addr_r = false; // MC6845 can not read Display Start (double checked on datasheet)
m_supports_vert_sync_width = false;