From 6dbce5e2646b6e64759151fc57c482d9eed50fd1 Mon Sep 17 00:00:00 2001 From: kotijekriv Date: Fri, 6 Nov 2026 21:10:20 +0100 Subject: [PATCH] fix: SetActiveCreditsSequenceIndex after the INT_00ed3120 rename The Ghidra header sync 7621d4f1d renamed the global DAT_00ed3120 to INT_00ed3120 (and declared it int), and UI/Credits/SetActiveCreditsSequenceIndex.cpp still includes and names it in the old form, so that file no longer compiles once it is in the build list (main's committed list is empty, so CI does not see it). This follows 7621d4f1d: the include and the name become INT_00ed3120, and clang-format re-sorts the include lines. The file's first include is written "../Credits.func.hpp", as the style guide's rule 14 asks (the same header). The store of 0 compiles the same for an int, so there is no behaviour change, and SetActiveCreditsSequenceIndex (0x004D9270) keeps its 100% status line. With this, a full build of every reimplemented file compiles and links. Globals: DAT_00ed3120 -> INT_00ed3120 (7621d4f1d) - UI/Credits/SetActiveCreditsSequenceIndex.cpp Co-Authored-By: Claude Opus 5.5 --- src/OpenSHC/UI/Credits/SetActiveCreditsSequenceIndex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenSHC/UI/Credits/SetActiveCreditsSequenceIndex.cpp b/src/OpenSHC/UI/Credits/SetActiveCreditsSequenceIndex.cpp index 97331b4ded..30d4e38d67 100644 --- a/src/OpenSHC/UI/Credits/SetActiveCreditsSequenceIndex.cpp +++ b/src/OpenSHC/UI/Credits/SetActiveCreditsSequenceIndex.cpp @@ -1,7 +1,7 @@ -#include "OpenSHC/UI/Credits.func.hpp" +#include "../Credits.func.hpp" -#include "OpenSHC/Globals/DAT_00ed3120.hpp" #include "OpenSHC/Globals/DAT_00ed3124.hpp" +#include "OpenSHC/Globals/INT_00ed3120.hpp" namespace OpenSHC { namespace UI { @@ -11,7 +11,7 @@ namespace UI { void __cdecl SetActiveCreditsSequenceIndex(undefined4 sequenceIndex) { DAT_00ed3124::instance = sequenceIndex; - DAT_00ed3120::instance = 0; + INT_00ed3120::instance = 0; } }