shithub: orca

Download patch

ref: 55cdf65459e3e511c51d6af157e2f49bc049bed9
parent: 5f3d38cd5ef1febf2bf931112eb6a094aa357266
author: cancel <cancel@cancel.fm>
date: Wed Dec 19 22:52:42 EST 2018

Cleanup

--- a/sim.c
+++ b/sim.c
@@ -632,12 +632,12 @@
     I32 out_x = data[0];
     I32 out_y = data[1] + 1;
     I32 len = data[2] + 1;
-    oper_copy_columns(gbuffer, mbuffer, height, width, y, x, 0, 1, out_y, out_x,
-                      len, true);
-    // for (I32 i = 0; i < len; ++i) {
-    //   Glyph g = PEEK(0, i + 1);
-    //   POKE_STUNNED(out_y, out_x + i, g);
-    // }
+    // oper_copy_columns(gbuffer, mbuffer, height, width, y, x, 0, 1, out_y, out_x,
+    //                   len, true);
+    for (I32 i = 0; i < len; ++i) {
+      Glyph g = PEEK(0, i + 1);
+      POKE_STUNNED(out_y, out_x + i, g);
+    }
   }
 END_PHASE