diff options
author | red031000 <rubenru09@aol.com> | 2021-07-06 00:31:33 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2021-07-06 00:33:32 +0100 |
commit | 5f0a31c4470f86aaad37ab56e46ce33f6fb4167b (patch) | |
tree | 19c8d969d281590d81226a561790f695011e7b23 /arm9/lib/src | |
parent | f71d98bf2843eb8f4c0a140184a6ffa30ed1f1e5 (diff) |
decompile MSL_Common_arith
Diffstat (limited to 'arm9/lib/src')
-rw-r--r-- | arm9/lib/src/MSL_Common_arith.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm9/lib/src/MSL_Common_arith.c b/arm9/lib/src/MSL_Common_arith.c new file mode 100644 index 00000000..d4a2e834 --- /dev/null +++ b/arm9/lib/src/MSL_Common_arith.c @@ -0,0 +1,7 @@ +#include "MSL_Common_arith.h" +#include "function_target.h" + +ARM_FUNC s32 abs(s32 val) +{ + return val < 0 ? -val : val; +} |