diff options
-rw-r--r-- | ops.yaml | 6 | ||||
-rw-r--r-- | test.c | 2 |
2 files changed, 4 insertions, 4 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; } @@ -9,7 +9,7 @@ #include "lodepng.h" #include "gb.h" -#define SKIP_FRAMES 600 +#define SKIP_FRAMES 120 #define NUM_FRAMES 60 // #define SKIP_STEPS 1000000 #define NUM_STEPS 300000 |