diff options
| author | 2021-05-04 20:53:45 -0700 | |
|---|---|---|
| committer | 2021-05-05 16:40:54 -0700 | |
| commit | a488b86e97df2bf188938f01fb484aa420298fef (patch) | |
| tree | 9c70d8a4a293e83e6906307fb1a4db7f61265fae /src/common/bit_util.h | |
| parent | fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly c... (diff) | |
| download | yuzu-a488b86e97df2bf188938f01fb484aa420298fef.tar.gz yuzu-a488b86e97df2bf188938f01fb484aa420298fef.tar.xz yuzu-a488b86e97df2bf188938f01fb484aa420298fef.zip | |
fixup! common: bit_util: Add BIT macro.
Diffstat (limited to '')
| -rw-r--r-- | src/common/bit_util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/bit_util.h b/src/common/bit_util.h index 683f09158..64520ca4e 100644 --- a/src/common/bit_util.h +++ b/src/common/bit_util.h | |||
| @@ -44,6 +44,4 @@ template <typename T> | |||
| 44 | return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); | 44 | return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | #define BIT(n) (1U << (n)) | ||
| 48 | |||
| 49 | } // namespace Common | 47 | } // namespace Common |