summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/74123.c
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2009-01-25 15:28:22 +0000
committer Couriersud <couriersud@users.noreply.github.com>2009-01-25 15:28:22 +0000
commitceb0c0ac4a1f950e3b83b22489ef9d9d79437764 (patch)
treee8accdc11a4bd5ae65e04298580219e6087cedb2 /src/emu/machine/74123.c
parente75096c53867d6779f0666305f757479eb7eeabb (diff)
Resistance is given in KOhm in datasheet formula
Diffstat (limited to 'src/emu/machine/74123.c')
-rw-r--r--src/emu/machine/74123.c4
1 files 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: