From 55cdf65459e3e511c51d6af157e2f49bc049bed9 Mon Sep 17 00:00:00 2001 From: cancel Date: Thu, 20 Dec 2018 03:52:42 +0900 Subject: [PATCH] Cleanup --- sim.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sim.c b/sim.c index 610b6c3..5afba1e 100644 --- a/sim.c +++ b/sim.c @@ -632,12 +632,12 @@ BEGIN_DUAL_PHASE_1(generator) 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