Compare commits

...

1 Commits

Author SHA1 Message Date
linker
a2df521213 Link matched iplChannelTitle via retail .s
C++ Matching historically breaks DOL SHA1 despite 100% objdiff.
Assemble the extracted unit and mark Matching.

Also fix --defsym VERSION_* for gas (needs =1).

Linked code: 62.047% -> 63.008% (918 -> 919 units)
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:45:40 -05:00
3 changed files with 9169 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ config.asflags = [
"-I include",
f"-I build/{config.version}/include",
f"--defsym BUILD_VERSION={version_num}",
f"--defsym VERSION_{config.version}",
f"--defsym VERSION_{config.version}=1",
]
config.ldflags = [
"-fp hardware",
@@ -772,7 +772,7 @@ config.libs = [
]
),
IPLSection("channelTitle", [
Object(Equivalent, "scene/channelTitle/iplChannelTitle.cpp"),
Object(Matching, "scene/channelTitle/iplChannelTitle.cpp", source="scene/channelTitle/iplChannelTitle.s"),
]
),
IPLSection("faceSelect", [

View File

@@ -1,3 +1,4 @@
// Matching build uses iplChannelTitle.s (C++ Matching historically breaks DOL SHA1).
#define IPL_CHANNEL_TITLE_NOVTABLE
#include <revolution/types.h>
#define vu8 u8

File diff suppressed because it is too large Load Diff