From 68400185d3d75b2cd6ff251b98683cd2f4d2c5b1 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 10 Apr 2026 20:01:16 +0200 Subject: source org: rename microvision and milton drivers --- src/devices/machine/7474.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/devices/machine/7474.cpp') diff --git a/src/devices/machine/7474.cpp b/src/devices/machine/7474.cpp index 45e21406edc..46fb7912a88 100644 --- a/src/devices/machine/7474.cpp +++ b/src/devices/machine/7474.cpp @@ -43,7 +43,6 @@ #include "7474.h" - //************************************************************************** // LIVE DEVICE //************************************************************************** @@ -101,28 +100,27 @@ void ttl7474_device::update() { if (!m_preset && m_clear) // line 1 in truth table { - m_output = 1; + m_output = 1; m_output_comp = 0; } else if (m_preset && !m_clear) // line 2 in truth table { - m_output = 0; + m_output = 0; m_output_comp = 1; } else if (!m_preset && !m_clear) // line 3 in truth table { - m_output = 1; + m_output = 1; m_output_comp = 1; } else if (!m_last_clock && m_clk) // line 4 in truth table { - m_output = m_d; + m_output = m_d; m_output_comp = !m_d; } m_last_clock = m_clk; - // call callback if any of the outputs changed if (m_output != m_last_output) { @@ -188,7 +186,7 @@ void ttl7474_device::d_w(int state) int ttl7474_device::output_r() { - return m_output!=0; + return m_output != 0; } @@ -198,7 +196,7 @@ int ttl7474_device::output_r() int ttl7474_device::output_comp_r() { - return m_output_comp!=0; + return m_output_comp != 0; } void ttl7474_device::init() -- cgit v1.2.3