diff options
| author | 2015-06-21 13:52:08 +0100 | |
|---|---|---|
| committer | 2015-06-28 00:36:54 +0100 | |
| commit | 1775adc34c588c8c37ef8c07dc0c3ff2358d5a31 (patch) | |
| tree | 93a60b5c98362836520e9fd86af02697264b2eae | |
| parent | Common: Cleanup key_map includes. (diff) | |
| download | yuzu-1775adc34c588c8c37ef8c07dc0c3ff2358d5a31.tar.gz yuzu-1775adc34c588c8c37ef8c07dc0c3ff2358d5a31.tar.xz yuzu-1775adc34c588c8c37ef8c07dc0c3ff2358d5a31.zip | |
Common: Remove unused ROUND_UP_POW2 macro.
| -rw-r--r-- | src/common/common_funcs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index cc74a228e..c4fb3d9cc 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -6,13 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #include "common_types.h" | 7 | #include "common_types.h" |
| 8 | 8 | ||
| 9 | #define b2(x) ( (x) | ( (x) >> 1) ) | ||
| 10 | #define b4(x) ( b2(x) | ( b2(x) >> 2) ) | ||
| 11 | #define b8(x) ( b4(x) | ( b4(x) >> 4) ) | ||
| 12 | #define b16(x) ( b8(x) | ( b8(x) >> 8) ) | ||
| 13 | #define b32(x) (b16(x) | (b16(x) >>16) ) | ||
| 14 | #define ROUND_UP_POW2(x) (b32(x - 1) + 1) | ||
| 15 | |||
| 16 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) | 9 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) |
| 17 | 10 | ||
| 18 | /// Textually concatenates two tokens. The double-expansion is required by the C preprocessor. | 11 | /// Textually concatenates two tokens. The double-expansion is required by the C preprocessor. |