shithub: orca

Download patch

ref: 4f94d97e676fd5d4ae1db5a6334a984b6227439a
parent: cc4d1d68afca3a519d06892df554548f8432309b
author: cancel <cancel@cancel.fm>
date: Sat Dec 1 13:43:00 EST 2018

Fix uturn normal phase logic

--- a/sim.c
+++ b/sim.c
@@ -745,6 +745,9 @@
   END_PORTS
 END_PHASE
 BEGIN_DUAL_PHASE_1(uturn)
+  REALIZE_DUAL;
+  if (!DUAL_IS_ACTIVE)
+    return;
 #define X(_d_y, _d_x, _d_glyph)                                                \
   {                                                                            \
     Glyph g = PEEK(_d_y, _d_x);                                                \