mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-02 07:59:52 -04:00
65ef0ebae6
One clean whole-EXE rebuild verified the batch (gate_main), and main re-checked BYTE-IDENTICAL against config/check.us.sha before anything was credited. AverageZ4 SYS_OBJ_1D84 SetSZfifo4 SetVertexTri VM_NOWON_OBJ_3D4 func_80011DCC func_8001282C func_80018450 func_80018E9C func_8001BDA0 func_8002109C func_800234E4 func_800249F0 func_80026128 func_8002D29C func_80047E58 func_800594CC func_800596F4 func_8005ACF0
36 lines
863 B
C
36 lines
863 B
C
#include "common.h"
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", LightColor);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", DpqColorLight);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", DpqColor3);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", Intpl);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", Square12);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", Square0);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", AverageZ3);
|
|
|
|
__asm__(".text\n.align 2\n.globl AverageZ4\n.ent\tAverageZ4\n"
|
|
"AverageZ4:\n.frame $sp,0,$31\n.mask 0x00000000,0\n.fmask 0,0\n"
|
|
".set\tnoreorder\n"
|
|
"mtc2 $a0, $16\n"
|
|
"mtc2 $a1, $17\n"
|
|
"mtc2 $a2, $18\n"
|
|
"mtc2 $a3, $19\n"
|
|
"nop\n"
|
|
"avsz4\n"
|
|
"mfc2 $v0, $7\n"
|
|
"jr $ra\n"
|
|
"nop\n"
|
|
".set\treorder\n.end\tAverageZ4\n");
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", OuterProduct12);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", OuterProduct0);
|
|
|
|
INCLUDE_ASM("asm/nonmatchings/800b_2", func_80049440);
|