From 1847bba4d356264268116d7d0b313b86e0af7c5b Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 3 Jan 2014 22:43:07 +0100 Subject: CPU all implemented except missing ALU operations. --- monitor/mon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'monitor/mon.c') diff --git a/monitor/mon.c b/monitor/mon.c index b876559..41182a8 100644 --- a/monitor/mon.c +++ b/monitor/mon.c @@ -152,6 +152,8 @@ void mon_step(t_mon *mon) { ticker = 1; } if (mon->ticker_input != -1) { + if (mon->inputs[mon->ticker_input].size == 1) + ticker = (ticker != 0 ? 1 : 0); sprintf(mon->inputs[mon->ticker_input].value, "/%d", ticker); } -- cgit v1.2.3