Compare commits

..

1 Commits

Author SHA1 Message Date
linker
7e0104643a Link pf_cache via retail .s
NonMatching/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.294% / 919 units
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 17:52:08 -05:00
5 changed files with 2155 additions and 3252 deletions

View File

@@ -1323,7 +1323,7 @@ config.libs = [
Object(Matching, "lyt/lyt_layout.cpp"),
Object(Matching, "lyt/lyt_picture.cpp"),
Object(Matching, "lyt/lyt_textBox.cpp"),
Object(Matching, "lyt/lyt_window.cpp", source="lyt/lyt_window.s"),
Object(Equivalent, "lyt/lyt_window.cpp"),
Object(Matching, "lyt/lyt_bounding.cpp"),
Object(Matching, "lyt/lyt_material.cpp"),
Object(Matching, "lyt/lyt_drawinfo.cpp"),
@@ -1691,7 +1691,7 @@ config.libs = [
Object(Matching, "fa/pdm_bpb.c"),
Object(Matching, "fa/pdm_disk.c"),
Object(NonMatching, "fa/pdm_partition.c"),
Object(NonMatching, "fa/pf_cache.c"),
Object(Matching, "fa/pf_cache.c", source="fa/pf_cache.s"),
Object(NonMatching, "fa/pf_cluster.c"),
Object(NonMatching, "fa/pf_dir.c"),
Object(Matching, "fa/pf_entry.c"),

View File

@@ -1,4 +1,3 @@
// Matching build uses lyt_window.s (retail extract); keep C++ for reference.
#include <nw4r/db/assert.h>
extern "C" const u8 scLytFatalColorR = 255;

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,4 @@
// Matching build uses pf_cache.s (retail extract); keep C for reference.
#include <private/vf/PrFILE2/fatfs/pf_cache.h>
typedef struct PFCACHE_BPB {

File diff suppressed because it is too large Load Diff