diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-06-27 21:40:10 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-06-27 21:40:10 -0400 |
commit | e4440e476663d1a8984982d8dba778cf40f14156 (patch) | |
tree | 03dac950818746549481296e21dc44f7d273d3c5 /ops.yaml | |
parent | 0448ec0a87f8688d93be38e5a92de79cbc672017 (diff) | |
download | gb-c-e4440e476663d1a8984982d8dba778cf40f14156.tar.bz2 gb-c-e4440e476663d1a8984982d8dba778cf40f14156.zip |
debug bg
Diffstat (limited to 'ops.yaml')
-rw-r--r-- | ops.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |