mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 21:36:06 -04:00
0cda15c6de
Pre-existing latent breakage (Phase-21 close commit:0292, "+62 PsyQ names"), found during T5b's R22 fleet verify. A genuinely-clean `make clean` + re-extract + build of `main` failed with dozens of `can't open asm/nonmatchings/800c3/func_*.s` — clean-rebuild broken since Phase 21, masked all along by incremental builds reusing stale pre-rename .s/.o (the exact R22 failure mode). - Root cause (byte-proven): Phase-21 xdedup renamed 62 PsyQ library functions to their proper names (InitHeap, FlushCache, GetTPage, SysEnqIntRP, SpuWrite, CdMix, __main …) in symbols.us.txt, but never regenerated/renamed the committed src/*.c stub refs that call them by the OLD func_<ADDR> name. splat's FRESH regeneration of a stub .c uses the CURATED names (move src/800c3.c aside -> splat writes INCLUDE_ASM(InitHeap) + emits InitHeap.s); the committed stubs were simply stale. - Fix: rename all 62 INCLUDE_ASM(func_<ADDR>) -> the curated name across 12 files (800c.c 1, 800c3.c 22, apicard1/2/4 4/6/2, boot.c 1, libcd1.c 8, libetc.c 6, libgpu.c 3, sgap.c 1, snd1.c 7, snd2.c 1). Pure rename to match splat's canonical output; byte-neutral. - VERIFIED: main clean-builds 143dbb89 from a fully clean tree; full clean fleet check-all 136/136. - Lesson (cookbook): a symbols.us.txt rename must be propagated to (a) shared-macro bodies (engine_core.h — the T5b GetTPage fix) AND (b) INCLUDE_ASM stub refs (this), AND verified by a genuinely-clean check-all (make clean + full re-extract), never incremental. Added a lint check.
103 lines
2.6 KiB
C
103 lines
2.6 KiB
C
#include "common.h"
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", func_80058890);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", EXT_OBJ_A8);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", EXT_OBJ_AC);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", LoadClut);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", LoadClut2);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", func_80058A4C);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", EXT_OBJ_234);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetDefDispEnv);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", GetTPage);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", GetClut);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", DumpTPage);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", DumpClut);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", NextPrim);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", IsEndPrim);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", AddPrim);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", AddPrims);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", CatPrim);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", TermPrim);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetSemiTrans);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", PRIM_OBJ_200);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetShadeTex);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", PRIM_OBJ_228);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyF3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyFT3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyG3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyGT3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyF4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyFT4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyG4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetPolyGT4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetSprt8);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetSprt16);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetSprt);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetTile1);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetTile8);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetTile16);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetTile);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineF2);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineG2);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineF3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineG3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineF4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetLineG4);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetDrawTPage);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetDrawMove);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", SetDrawLoad);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", MargePrim);
|
|
|
|
void PRIM_OBJ_52C(void) {
|
|
}
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", DumpDrawEnv);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgpu", DumpDispEnv);
|