Use precompiled headers, fix weak data issues

This commit is contained in:
LagoLunatic
2025-08-19 17:15:39 -04:00
parent a32174dff6
commit 217775af4e
629 changed files with 646 additions and 445 deletions
-5
View File
@@ -14,11 +14,6 @@
#include "dolphin/types.h"
#include "string.h"
inline GXAttnFn J3DColorChan::getAttnFn() {
u8 attnFnTbl[] = { GX_AF_NONE, GX_AF_SPEC, GX_AF_NONE, GX_AF_SPOT };
return GXAttnFn(attnFnTbl[mChanCtrl >> 9 & 0x03]);
}
extern bool isTexNoReg(void*);
extern u16 getTexNoReg(void*);
extern void loadTexNo(u32, const u16 &);
+1 -4
View File
@@ -8,10 +8,7 @@
#include "JSystem/J3DGraphAnimator/J3DModelData.h"
#include "math.h"
// Needed for the .rodata section to match.
static const f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
static const f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
static const f32 dummy3[3] = {0.0f, 0.0f, 0.0f};
#include "weak_bss_3569.h" // IWYU pragma: keep
static const f32 Deg2Rad = 0.017453292f;