summaryrefslogtreecommitdiff
path: root/ops.yaml
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-06-25 23:27:57 -0400
committerPaul Duncan <pabs@pablotron.org>2018-06-25 23:27:57 -0400
commit986ba80832c3d355352fa3c936199f388f682a46 (patch)
tree31c84889f69de601840d1d8315c8f6b8254ac966 /ops.yaml
parenteedfbeae69b7f18237aa9d159d297ce717d629ab (diff)
downloadgb-c-986ba80832c3d355352fa3c936199f388f682a46.tar.bz2
gb-c-986ba80832c3d355352fa3c936199f388f682a46.zip
init gpu, put clock update before instruction
Diffstat (limited to 'ops.yaml')
-rw-r--r--ops.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ops.yaml b/ops.yaml
index dab380c..199b61d 100644
--- a/ops.yaml
+++ b/ops.yaml
@@ -10601,4 +10601,8 @@ templates:
// init gpu
gpu_set_mode(ctx, GPU_MODE_OAM);
gpu_set_line(ctx, 0);
+ ctx->gpu.lcdc = 0x91;
+ ctx->gpu.bgp = 0xFC;
+ ctx->gpu.obp0 = 0xFF;
+ ctx->gpu.obp1 = 0xFF;
}