summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nigel Barnes <ngbarnes@gmail.com>2025-02-18 20:39:12 +0000
committer Nigel Barnes <ngbarnes@gmail.com>2025-02-18 21:04:26 +0000
commit95fd70632cdf37967eceab0dd966f6f0488bbae8 (patch)
tree3352052b1234ea7c651f4c5a0f2a64eb87770c40
parent3333c7526256a25b92999e542e8e087b8b1dea78 (diff)
machine/acorn_vidc.cpp: Initialise pixel variables.
-rw-r--r--src/devices/machine/acorn_vidc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/acorn_vidc.cpp b/src/devices/machine/acorn_vidc.cpp
index ae4021e412f..cd428e3fc01 100644
--- a/src/devices/machine/acorn_vidc.cpp
+++ b/src/devices/machine/acorn_vidc.cpp
@@ -336,7 +336,7 @@ void acorn_vidc10_device::control_w(u32 data)
//m_composite_sync = BIT(data, 7);
//m_test_mode = (data & 0xc100) != 0xc100;
- //todo: vga/svga modes sets 0x1000?
+ // TODO: vga/svga modes sets 0x1000?
m_crtc_regs[CRTC_HDSR] = convert_crtc_hdisplay(0);
m_crtc_regs[CRTC_HDER] = convert_crtc_hdisplay(1);
screen_vblank_line_update();
@@ -562,6 +562,8 @@ void arm_vidc20_device::regs_map(address_map &map)
arm_vidc20_device::arm_vidc20_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
: acorn_vidc10_device(mconfig, ARM_VIDC20, tag, owner, clock, 2)
+ , m_pixel_source(0)
+ , m_pixel_rate(0)
, m_dac32(*this, "serial_dac_%u", 0)
{
m_space_config = address_space_config("regs_space", ENDIANNESS_LITTLE, 32, 8, -2, address_map_constructor(FUNC(arm_vidc20_device::regs_map), this));