summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ops.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops.yaml b/ops.yaml
index 30c0c64..58afc61 100644
--- a/ops.yaml
+++ b/ops.yaml
@@ -9436,6 +9436,12 @@ templates:
}
// TODO: draw background
+ for (int i = 0; i < 160; i++) {
+ // interim: set line to red
+ ctx->gpu.rgb[3 * (ctx->gpu.line * 160 + i) + 0] = 0xff;
+ ctx->gpu.rgb[3 * (ctx->gpu.line * 160 + i) + 1] = 0x00;
+ ctx->gpu.rgb[3 * (ctx->gpu.line * 160 + i) + 2] = 0x00;
+ }
// draw foreground sprites
for (int i = 0; i < 40; i++) {