mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
c4a627b22b
- NEW tools/gen_lib_subsegs.py: generate splat subseg lines + integrate stub list for a multi-block library (section-size-correct block ends — bakes in the libc2/T6 boundary gotcha so it can't recur). Reused for libspu/libsnd next. - libgte = GTE math, 53 objects in 22 blocks across the old 800b region (game code interleaved as 800b/800b_2..800b_7). Resegmented from the generator; integrate window 0x4787C..0x51804 so it sees exactly the 22 in-region blocks - 5 libgs-gap libgte objects (MTX_05/07/11/REG03/REG11) DEFERRED — gsgap1/2/4/5 stay stubs (gsgap2 != MTX_07 exactly, needs a sub-split); documented in worklist - progress.py linked_subsegs() now resolves `$(VAR)` stub lists (LIBGTE_STUBS) — the long multi-block lists are passed via a make var - region byte-verified 58/58 (clean, no scattered .bss); rm'd src/800b.c (region starts with a lib block) so splat regenerates the fragments; 22 src/libgteN.c + 6 game frags - dual byte-gate PASS: 143dbb89 with and without the libgte objects - LINKED 590 -> 710 (+120); REAL still 43; byte-identical 37.93% - reordered remaining libs value-first (libspu/libsnd next; dense libcard/libapi last)
4 lines
77 B
C
4 lines
77 B
C
#include "common.h"
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/libgte7", func_8004923C);
|