mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
0abcd250ab
- p16_permute.hide_asm: b64literal-pragma carrier for register pins + GTE __asm__ blocks. pycparser parses the pragma; decomp-permuter's process_pragmas decodes it back so cc1 sees the real pins/asm (regalloc steered, mvmva compiles). No submodule edit (reuses its own carrier). - drop_preproc_and_scalar_typedefs: keep #define + custom struct/typedefs, drop only #include (fixes func_801412A8 'OTLINK undeclared'); +f32 typedef gap; make_base_c hides asm. - compile.sh/compile_o0.sh: prepend .include "macro.inc" so GTE mvmva assembles (the real build gets it via include_asm.h, which base.c omits + -DPERMUTER disables). Byte-neutral for non-GTE. compile_o0.sh (-O0) auto-selected for _o0 targets. - run_masked.py: expr_type->int fallback for hidden-pin vars -> 0 internal-permuter-failures (perm_split_assignment/perm_temp_for_expr no longer KeyError on pinned drafts). - ALL 5 seeds parse+compile (base 4/110/36/52/77). FLAGSHIP func_80132784 (4/400) CLOSED to a masked-0 that match_one confirms MATCH (400 ins) -> .run/wave/func_80132784.win.c for T4 gate. - no build-input changed (136/136 untouched)