From e4440e476663d1a8984982d8dba778cf40f14156 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 27 Jun 2018 21:40:10 -0400 Subject: debug bg --- ops.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ops.yaml') diff --git a/ops.yaml b/ops.yaml index 0c50cee..8c565c6 100644 --- a/ops.yaml +++ b/ops.yaml @@ -10415,9 +10415,9 @@ templates: const uint8_t c = bg_get_color(ctx, ctx->gpu.line, i); // populate framebuffer - ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 0] = c; + ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 0] = 0; // DEBUG ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 1] = c; - ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 2] = c; + ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 2] = 0; } } @@ -10428,7 +10428,7 @@ templates: } else { // write blank line for (uint8_t i = 0; i < 160; i++) { - ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 0] = 0xff; + ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 0] = 0; // DEBUG ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 1] = 0xff; ctx->gpu.fb[3 * (ctx->gpu.line * 160 + i) + 2] = 0xff; } -- cgit v1.2.3