From 4e81e4a38897fbe27924c1287e51065cbaa2b3ab Mon Sep 17 00:00:00 2001 From: zelda2774 <69368340+zelda2774@users.noreply.github.com> Date: Sun, 25 Apr 2021 20:37:32 +0200 Subject: Set __FILE__ in asm_processor (#793) * Set __FILE__ in asm_processor * bss fix * Update to upstream version Co-authored-by: zelda2774 --- src/code/z_collision_check.c | 1 - src/code/z_parameter.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/code') diff --git a/src/code/z_collision_check.c b/src/code/z_collision_check.c index b66aeda0d..4bc7b5919 100644 --- a/src/code/z_collision_check.c +++ b/src/code/z_collision_check.c @@ -2254,7 +2254,6 @@ void CollisionCheck_AC_CylVsQuad(GlobalContext* globalCtx, CollisionCheckContext static s8 sBssDummy0; static s8 sBssDummy1; -static s8 sBssDummy2; /** * AC overlap check. Calculates the center of each collider element and the point of contact. diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index 859270875..d3fc173de 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -3012,11 +3012,10 @@ s16 D_80125B5C[] = { 91, 91 }; // unused // Due to an unknown reason, bss ordering changes within the 5 static variables in the function below. // In order to restore the correct order, we need a specific number of bss variables in the file before that point. -// For this, we introduce 3 dummy variables which end up in padding at the end of the file's bss, so they don't actually +// For this, we introduce 2 dummy variables which end up in padding at the end of the file's bss, so they don't actually // take space. s8 sBssDummy1; s8 sBssDummy2; -s8 sBssDummy3; #ifdef NON_MATCHING // mostly regalloc, minor ordering and stack usage differences -- cgit v1.2.3