summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/MathUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/MathUtil.h')
-rw-r--r--Source/Core/Common/Src/MathUtil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/MathUtil.h b/Source/Core/Common/Src/MathUtil.h
index ecace1fb4a..a6290ff602 100644
--- a/Source/Core/Common/Src/MathUtil.h
+++ b/Source/Core/Common/Src/MathUtil.h
@@ -161,6 +161,7 @@ void LoadDefaultSSEState();
float MathFloatVectorSum(const std::vector<float>&);
#define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1))
+#define ROUND_DOWN(x, a) ((x) & ~((a) - 1))
// Tiny matrix/vector library.