summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/7474.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/7474.c')
-rw-r--r--src/emu/machine/7474.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/machine/7474.c b/src/emu/machine/7474.c
index bcfbeccfc4a..195a27ea1cc 100644
--- a/src/emu/machine/7474.c
+++ b/src/emu/machine/7474.c
@@ -79,22 +79,22 @@ void ttl7474_update(const device_config *device)
if (!state->preset && state->clear) /* line 1 in truth table */
{
- state->output = 1;
+ state->output = 1;
state->output_comp = 0;
}
else if (state->preset && !state->clear) /* line 2 in truth table */
{
- state->output = 0;
+ state->output = 0;
state->output_comp = 1;
}
else if (!state->preset && !state->clear) /* line 3 in truth table */
{
- state->output = 1;
+ state->output = 1;
state->output_comp = 1;
}
else if (!state->last_clock && state->clock) /* line 4 in truth table */
{
- state->output = state->d;
+ state->output = state->d;
state->output_comp = !state->d;
}