From 9f5ba56a633a1b66dc7f99f68a1d870e24da4972 Mon Sep 17 00:00:00 2001 From: Couriersud Date: Sat, 17 May 2014 16:59:53 +0000 Subject: [PATCH] Document reason for identical code in resnet.c line 613 --- src/emu/video/resnet.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emu/video/resnet.c b/src/emu/video/resnet.c index 5a00e07f01d..e82a38c13e3 100644 --- a/src/emu/video/resnet.c +++ b/src/emu/video/resnet.c @@ -612,6 +612,10 @@ int compute_res_net(int inputs, int channel, const res_net_info &di) int level = ((inputs >> i) & 1); if (di.rgb[channel].R[i] != 0.0 && !level) { + // There is no difference in the calculation of the "low" input + // (transistor conducting to ground) between TTL output and + // open collector output. This is documented explicitly in the + // code below (no difference if / else. if (OpenCol) { rTotal += 1.0 / di.rgb[channel].R[i];