diff options
Diffstat (limited to 'Gate.cpp')
-rw-r--r-- | Gate.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -73,6 +73,13 @@ void Gate::update_state() break; } + case PULSE: + { + if (output_state) + output_state = false; + break; + } + case OUTPUT: { if (input_gate1 && input_gate1->get_output_state() == true) |