Fix demo build failing

This commit is contained in:
LagoLunatic
2026-05-18 00:59:19 -04:00
parent bc09a831c5
commit f85b3ff3c0
2 changed files with 10 additions and 3 deletions
-3
View File
@@ -8,9 +8,6 @@ splits: config/D44J01/splits.txt
symbols: config/D44J01/symbols.txt
# map: orig/D44J01/files/maps/framework.map
force_active:
- C_MTXMultVecArray # Debug only, added here so debug can be linked
mw_comment_version: 10 # GC Linker 1.3.2
symbols_known: true # Very fast analysis
fill_gaps: false # Alignments known
+10
View File
@@ -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