diff --git a/configure.py b/configure.py index 68cdda19..0f8b0d6a 100644 --- a/configure.py +++ b/configure.py @@ -854,7 +854,7 @@ config.libs = [ ] ), IPLSection("sdChannelTitle", [ - Object(NonMatching, "scene/sdChannelTitle/iplSDChannelTitle.cpp"), + Object(Matching, "scene/sdChannelTitle/iplSDChannelTitle.cpp"), ] ), IPLSection("sdButton", [ diff --git a/src/scene/sdChannelTitle/iplSDChannelTitle.cpp b/src/scene/sdChannelTitle/iplSDChannelTitle.cpp index d50a5e78..a878e281 100644 --- a/src/scene/sdChannelTitle/iplSDChannelTitle.cpp +++ b/src/scene/sdChannelTitle/iplSDChannelTitle.cpp @@ -5,9 +5,9 @@ #define IPL_CHANNEL_TITLE_NOVTABLE #include "math/iplInterporation.h" -#undef IPL_CHANNEL_TITLE_NOVTABLE #include "scene/sdChannelTitle/iplSDChannelTitle.h" +#undef IPL_CHANNEL_TITLE_NOVTABLE #include "scene/sdChannelSelect/iplSDChannelSelect.h" #include "system/iplSystem.h" #include "sound/iplSound.h" diff --git a/tools/decomp-assist/opus-sdct.attempts.md b/tools/decomp-assist/opus-sdct.attempts.md new file mode 100644 index 00000000..d0c212c4 --- /dev/null +++ b/tools/decomp-assist/opus-sdct.attempts.md @@ -0,0 +1,6 @@ +# opus-sdct: link iplSDChannelTitle + +Target .data is 0x6a0 with 0xd8 zero bytes after the SDChannelTitle vtable (deduped weak vtables); built emitted 0x94 (PaneManager, EventHandler, Interface). Text extras are weak and get deduped, so they're fine. + +1. Dropped IPL_CHANNEL_TITLE_NOVTABLE entirely: adds HermiteIntp/Interporation weak vtables, data 0x67c, text/sdata2 grow. Rejected (HermiteIntp vtable is global elsewhere; Interporation never exists in the DOL). +2. Kept IPL_CHANNEL_TITLE_NOVTABLE defined across iplSDChannelTitle.h too (same as iplChannelTitle.cpp does), so the inline LangFile/LayoutFile path from iplNand.h is used: adds LayoutFile + LangFile weak vtables (0x40), data 0x69c = target content. 69/69 exact, flip to Matching, DOL SHA1 OK, gate PASS.