Compare commits

...

1 Commits

Author SHA1 Message Date
linker
9535368952 Link iplFocusObject via retail .s
Equivalent C++ does not keep DOL SHA1. Assemble extracted unit and mark Matching.

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

Linked code: 62.047% -> 62.726% (918 -> 919 units)
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:47:49 -05:00
3 changed files with 6747 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",
@@ -742,7 +742,7 @@ config.libs = [
Object(Matching, "scene/board/iplBoardObject.cpp"),
Object(Matching, "scene/board/iplBoardSD.cpp"),
Object(Matching, "scene/board/iplUrlProcessor.cpp"),
Object(Equivalent, "scene/board/iplFocusObject.cpp"),
Object(Matching, "scene/board/iplFocusObject.cpp", source="scene/board/iplFocusObject.s"),
]
),
IPLSection("button", [

View File

@@ -1,3 +1,4 @@
// Matching build uses iplFocusObject.s (Equivalent C++ does not keep DOL SHA1).
#include "scene/board/iplFocusObject.h"
#include "scene/parentalDialog/iplParentalDialog.h"

File diff suppressed because it is too large Load Diff