diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-06-25 23:27:57 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-06-25 23:27:57 -0400 |
commit | 986ba80832c3d355352fa3c936199f388f682a46 (patch) | |
tree | 31c84889f69de601840d1d8315c8f6b8254ac966 /ops.yaml | |
parent | eedfbeae69b7f18237aa9d159d297ce717d629ab (diff) | |
download | gb-c-986ba80832c3d355352fa3c936199f388f682a46.tar.bz2 gb-c-986ba80832c3d355352fa3c936199f388f682a46.zip |
init gpu, put clock update before instruction
Diffstat (limited to 'ops.yaml')
-rw-r--r-- | ops.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } |