From ceb0c0ac4a1f950e3b83b22489ef9d9d79437764 Mon Sep 17 00:00:00 2001 From: Couriersud Date: Sun, 25 Jan 2009 15:28:22 +0000 Subject: [PATCH] Resistance is given in KOhm in datasheet formula --- src/emu/machine/74123.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/machine/74123.c b/src/emu/machine/74123.c index 3f4b1f955e1..4df4d98ca30 100644 --- a/src/emu/machine/74123.c +++ b/src/emu/machine/74123.c @@ -43,11 +43,11 @@ static attotime compute_duration(ttl74123_t *chip) switch (chip->intf->connection_type) { case TTL74123_NOT_GROUNDED_NO_DIODE: - duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res)); + duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res)); break; case TTL74123_NOT_GROUNDED_DIODE: - duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res)); + duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res)); break; case TTL74123_GROUNDED: