diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-06-20 22:45:45 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-06-20 22:45:45 -0400 |
commit | 488602d1e6f37f58ff57be04e6233ca1f919f9ee (patch) | |
tree | 507ac331f79b37f3765afe6a13dba91edd4aeea5 | |
parent | b9d24e00470c2538aa55e36833a7b89cdfcd9494 (diff) | |
download | gb-c-488602d1e6f37f58ff57be04e6233ca1f919f9ee.tar.bz2 gb-c-488602d1e6f37f58ff57be04e6233ca1f919f9ee.zip |
draw red bg for testing
-rw-r--r-- | ops.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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++) { |