diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-07-07 22:52:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 22:52:15 -0400 |
commit | 79d007487abb2706c42f2d01d74c8d8a41e6ac43 (patch) | |
tree | 73aeafb7a405d717b71814a46aa461b4fd017244 /arm9/lib/src/MSL_Common_arith.c | |
parent | f71d98bf2843eb8f4c0a140184a6ffa30ed1f1e5 (diff) | |
parent | 49a17b6a1803703e6dd7d01d0a0e59adc4d6d4d4 (diff) |
Merge pull request #428 from red031000/master
decompile MSL_Common_arith
Diffstat (limited to 'arm9/lib/src/MSL_Common_arith.c')
-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; +} |