From 986ba80832c3d355352fa3c936199f388f682a46 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 25 Jun 2018 23:27:57 -0400 Subject: init gpu, put clock update before instruction --- ops.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ops.yaml') 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; } -- cgit v1.2.3