From 581bf7069e21095a41be5f021f0a8b22b5e95d0f Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Fri, 1 Apr 2016 15:30:22 -0700 Subject: [PATCH] Update for buildtools changes. --- buildtools | 2 +- source/screen.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildtools b/buildtools index d5e6f91..cbda9a6 160000 --- a/buildtools +++ b/buildtools @@ -1 +1 @@ -Subproject commit d5e6f9138943fe85fb90b7c76fd7b6e02647d44a +Subproject commit cbda9a6b87292341f33f56099ac34894a58fe133 diff --git a/source/screen.c b/source/screen.c index c8bc1f9..c231d72 100644 --- a/source/screen.c +++ b/source/screen.c @@ -75,7 +75,7 @@ void screen_init() { C3D_RenderTargetSetClear(target_bottom, C3D_CLEAR_ALL, 0, 0); C3D_RenderTargetSetOutput(target_bottom, GFX_BOTTOM, GFX_LEFT, displayFlags); - dvlb = DVLB_ParseFile((u32*) default_shbin, default_shbin_size); + dvlb = DVLB_ParseFile((u32*) default_shbin, default_shbin_len); if(dvlb == NULL) { util_panic("Failed to parse shader."); return; @@ -614,4 +614,4 @@ void screen_draw_string(const char* text, float x, float y, float scaleX, float C3D_TexEnvSrc(env, C3D_Both, GPU_TEXTURE0, 0, 0); C3D_TexEnvOp(env, C3D_Both, 0, 0, 0); C3D_TexEnvFunc(env, C3D_Both, GPU_REPLACE); -} \ No newline at end of file +}