From d59ca6cea2c074367e03406e2dac939c1522cc29 Mon Sep 17 00:00:00 2001 From: cadmic Date: Mon, 15 Apr 2024 10:36:29 -0700 Subject: Set up gc-eu and match all code (#1938) * Set up gc-eu and match all code * Format * Mark gc-eu-mq as WIP until it builds OK * Move original/MQ map mark data to separate files * Add #includes to .inc.c files to help out VS Code * Use #if in spec instead of .inc.c files --- src/code/z_scene_table.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/code') diff --git a/src/code/z_scene_table.c b/src/code/z_scene_table.c index d3dc09751..b52c2e5ca 100644 --- a/src/code/z_scene_table.c +++ b/src/code/z_scene_table.c @@ -418,7 +418,11 @@ void Scene_DrawConfigWaterTemple(PlayState* play) { spAC = play->roomCtx.unk_74[1] & 0xFF; gameplayFrames = play->gameplayFrames; +#if !OOT_MQ + gSPSegment(POLY_XLU_DISP++, 0x06, SEGMENTED_TO_VIRTUAL(D_8012A330[((void)0, gSaveContext.save.nightFlag)])); +#else gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(D_8012A330[((void)0, gSaveContext.save.nightFlag)])); +#endif if (spB0 == 1) { gSPSegment(POLY_OPA_DISP++, 0x08, -- cgit v1.2.3