mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 04:21:42 +00:00
Adds compilation fixes for ARM in headless mode
This commit is contained in:
parent
983932214a
commit
a5ec435d03
2 changed files with 9 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ OPTIMIZE_O3 bool mtxf_inverse_non_affine(OUT Mat4 dest, Mat4 src) {
|
|||
if (fabsf(aug[i][k]) > fabsf(aug[piv][k])) { piv = i; }
|
||||
}
|
||||
|
||||
if (fabsf(aug[piv][k]) < FLT_EPSILON) { return false; }
|
||||
if (fabsf(aug[piv][k]) < __FLT_EPSILON__) { return false; }
|
||||
|
||||
// swap pivot row into place
|
||||
if (piv != k) {
|
||||
|
|
|
|||
|
|
@ -411,4 +411,12 @@ static void sys_fatal_impl(const char *msg) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
const char *sys_resource_path(void) {
|
||||
return ".";
|
||||
}
|
||||
|
||||
const char *sys_exe_path_dir(void) {
|
||||
return ".";
|
||||
}
|
||||
|
||||
#endif // platform switch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue