diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-18 00:59:19 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-18 00:59:19 -0400 |
| commit | f85b3ff3c074a4137992edeead966ac3cfa82de5 (patch) | |
| tree | e1143855e47aaf3944aa710eda4c936847501a2d /src | |
| parent | bc09a831c52b505ecdd5e617fb31ece9fa7d6c6c (diff) | |
Fix demo build failing
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphin/mtx/mtxvec.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dolphin/mtx/mtxvec.c b/src/dolphin/mtx/mtxvec.c index d414db32..e4efaee4 100644 --- a/src/dolphin/mtx/mtxvec.c +++ b/src/dolphin/mtx/mtxvec.c @@ -44,6 +44,12 @@ asm void PSMTXMultVec(const register Mtx m, const register Vec* src, register Ve } #endif +#ifdef DEBUG +// Hack to fix a linker error when compiling in debug mode +#pragma push +#pragma force_active on +#endif + void C_MTXMultVecArray(const Mtx m, const Vec* srcBase, Vec* dstBase, u32 count) { u32 i; Vec vTmp; @@ -65,6 +71,10 @@ void C_MTXMultVecArray(const Mtx m, const Vec* srcBase, Vec* dstBase, u32 count) } } +#ifdef DEBUG +#pragma pop +#endif + #ifdef __MWERKS__ asm void PSMTXMultVecArray(const register Mtx m, const register Vec* srcBase, register Vec* dstBase, register u32 count) { nofralloc |
