(a, b, c, d bool, decoderIndex int, outputWireStart int)
| 212 | } |
| 213 | |
| 214 | func (dc *Decoder8x256) updateDecoder(a, b, c, d bool, decoderIndex int, outputWireStart int) { |
| 215 | if dc.decoderSelector.GetOutputWire(decoderIndex) { |
| 216 | dc.decoders4x16[decoderIndex].Update(a, b, c, d) |
| 217 | |
| 218 | for i := 0; i < 16; i++ { |
| 219 | if dc.decoders4x16[decoderIndex].outputs[i].Get() { |
| 220 | dc.index = outputWireStart + i |
| 221 | } |
| 222 | } |
| 223 | } |
| 224 | } |
no test coverage detected