Browse Source

fix small chip compile bug that wired dummy signals to each other

Michael Schubmehl 5 years ago
parent
commit
b7cbd94232
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/droidquest/chipstuff/ChipCompiler.java

+ 1
- 1
src/com/droidquest/chipstuff/ChipCompiler.java View File

@@ -99,7 +99,7 @@ public ChipCompiler(PrototypeChip pc, SmallChip sc)
99 99
 		  for (int ap=1; ap<4; ap++) // For every output Signal in the Node
100 100
 		    {
101 101
 		       Signal s1 = gate1.portSignals[ap].externalSignal;
102
-		       if (s1!= null)
102
+		       if (s1!= null && s1!=dummy)
103 103
 			 {
104 104
 			    for (int b=0; b<sc.gates.size(); b++) // For every other Gate in the Chip
105 105
 			      {

Loading…
Cancel
Save