Compare commits

...

1 Commits

Author SHA1 Message Date
linker
ed246a1750 Link NWC24Download 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.464% / 919 units
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:50:04 -05:00
3 changed files with 3881 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",
@@ -1089,7 +1089,7 @@ config.libs = [
Object(Matching, "nwc24/NWC24UserId.c"),
Object(Matching, "nwc24/NWC24Time.c"),
Object(Matching, "nwc24/NWC24Ipc.c"),
Object(Equivalent, "nwc24/NWC24Download.c"),
Object(Matching, "nwc24/NWC24Download.c", source="nwc24/NWC24Download.s"),
Object(Matching, "nwc24/NWC24CHJump.c"),
Object(Matching, "nwc24/NWC24System.c"),
]

View File

@@ -1,3 +1,4 @@
// Matching build uses NWC24Download.s (retail extract); keep C++ for reference.
#include <private/nwc24.h>
#include <revolution/nand.h>

File diff suppressed because it is too large Load Diff