From 112daa94a892a84b3c5449ffd8d34540a97efd3f Mon Sep 17 00:00:00 2001 From: Yanis42 <35189056+Yanis42@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:03:54 +0200 Subject: [PATCH] fix build issues --- baseroms/hackeroot-mq/config.yml | 10 +++++----- include/gfx.h | 1 + spec | 1 + src/overlays/misc/ovl_kaleido_scope/z_kaleido_map.c | 1 - 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/baseroms/hackeroot-mq/config.yml b/baseroms/hackeroot-mq/config.yml index 824e6ed9d5..84a6d3b6c7 100644 --- a/baseroms/hackeroot-mq/config.yml +++ b/baseroms/hackeroot-mq/config.yml @@ -940,7 +940,7 @@ assets: start_offset: 0x780 end_offset: 0x4128 - name: overlays/ovl_file_choose - xml_path: assets/xml/overlays/ovl_file_choose_pal.xml + xml_path: assets/xml/overlays/ovl_file_choose_pal_gc.xml start_offset: 0xDE70 end_offset: 0xE740 - name: overlays/ovl_Magic_Dark @@ -988,7 +988,7 @@ assets: - name: scenes/dungeons/ddan xml_path: assets/xml/scenes/dungeons/ddan_mq.xml - name: scenes/dungeons/ddan_boss - xml_path: assets/xml/scenes/dungeons/ddan_boss.xml + xml_path: assets/xml/scenes/dungeons/ddan_boss_v2.xml - name: scenes/dungeons/FIRE_bs xml_path: assets/xml/scenes/dungeons/FIRE_bs.xml - name: scenes/dungeons/ganon @@ -1160,7 +1160,7 @@ assets: - name: scenes/overworld/spot15 xml_path: assets/xml/scenes/overworld/spot15.xml - name: scenes/overworld/spot16 - xml_path: assets/xml/scenes/overworld/spot16.xml + xml_path: assets/xml/scenes/overworld/spot16_v2.xml - name: scenes/overworld/spot17 xml_path: assets/xml/scenes/overworld/spot17.xml - name: scenes/overworld/spot18 @@ -1236,7 +1236,7 @@ assets: - name: textures/nes_font_static xml_path: assets/xml/textures/nes_font_static_v2.xml - name: textures/nintendo_rogo_static - xml_path: assets/xml/textures/nintendo_rogo_static.xml + xml_path: assets/xml/textures/nintendo_rogo_static_v2.xml - name: textures/parameter_static xml_path: assets/xml/textures/parameter_static.xml - name: textures/place_title_cards @@ -1244,4 +1244,4 @@ assets: - name: textures/skyboxes xml_path: assets/xml/textures/skyboxes.xml - name: textures/title_static - xml_path: assets/xml/textures/title_static_pal.xml + xml_path: assets/xml/textures/title_static_pal_gc.xml diff --git a/include/gfx.h b/include/gfx.h index a9da2fc2bb..72c3793438 100644 --- a/include/gfx.h +++ b/include/gfx.h @@ -71,6 +71,7 @@ Gfx* Gfx_TwoTexScrollEnvColor(GraphicsContext* gfxCtx, s32 tile1, u32 x1, u32 y1 u32 x2, u32 y2, s32 width2, s32 height2, s32 r, s32 g, s32 b, s32 a); Gfx* Gfx_EnvColor(GraphicsContext* gfxCtx, s32 r, s32 g, s32 b, s32 a); void Gfx_SetupFrame(GraphicsContext* gfxCtx, s32 clearFB, u8 r, u8 g, u8 b); +void Gfx_ClearZBuffer(GraphicsContext* gfxCtx); void func_80095974(GraphicsContext* gfxCtx); void* Graph_Alloc(GraphicsContext* gfxCtx, size_t size); diff --git a/spec b/spec index 3c92bef128..adcb297a7c 100644 --- a/spec +++ b/spec @@ -16,6 +16,7 @@ beginseg name "boot" address 0x80000460 include "$(BUILD_DIR)/src/boot/boot_main.o" + include "$(BUILD_DIR)/src/boot/vimodepal60lan1.o" include "$(BUILD_DIR)/src/boot/idle.o" #if OOT_VERSION >= PAL_1_0 include "$(BUILD_DIR)/src/boot/viconfig.o" diff --git a/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map.c b/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map.c index 2b745dd814..e49ad12687 100644 --- a/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map.c +++ b/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map.c @@ -690,7 +690,6 @@ void KaleidoScope_DrawWorldMap(PlayState* play, GraphicsContext* gfxCtx) { POLY_OPA_DISP = gfx; } -#if IS_DEBUG if (HREG(15) == 2) { HREG(15) = 1; HREG(14) = 6100;