mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 10:01:46 +00:00
Adds compilation fixes for ARM in headless mode (#1151)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Co-authored-by: Alfredo <jalfredo.gallegos@gmail.com>
This commit is contained in:
parent
8735cf96ad
commit
e645aa7cef
2 changed files with 9 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ OPTIMIZE_O3 bool mtxf_inverse_non_affine(VEC_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