From df00bcfdf7b82eadd0ba3f48cf1caaa85de21fd8 Mon Sep 17 00:00:00 2001 From: arbee Date: Mon, 19 Jun 2023 13:13:15 -0400 Subject: video/ati_mach32.cpp: Fix uninitialized variable that was causing a crash on some builds. [R. Belmont] --- src/devices/video/ati_mach32.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/devices/video/ati_mach32.cpp b/src/devices/video/ati_mach32.cpp index a5af855516f..343a5f87db5 100644 --- a/src/devices/video/ati_mach32.cpp +++ b/src/devices/video/ati_mach32.cpp @@ -47,7 +47,7 @@ mach32_device::mach32_device(const machine_config &mconfig, const char *tag, dev } mach32_device::mach32_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) - : ati_vga_device(mconfig, type, tag, owner, clock), m_8514a(*this,"8514a") + : ati_vga_device(mconfig, type, tag, owner, clock), m_8514a(*this,"8514a"), m_cursor_enable(false) { } @@ -116,10 +116,10 @@ void mach32_8514a_device::device_reset() } void mach32_8514a_device::mach32_mem_boundary_w(uint16_t data) -{ +{ m_membounds = data; if(data & 0x10) - LOG("ATI: Unimplemented memory boundary activated.\n"); + LOG("ATI: Unimplemented memory boundary activated.\n"); } -- cgit v1.2.3