yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

common: bit_util: Add BIT macro.

This commit is contained in:
bunnei 2021-04-01 14:47:35 -07:00
parent f93d939426
commit 74120c5e3a
1 changed files with 2 additions and 0 deletions

View File

@ -44,4 +44,6 @@ template <typename T>
return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL));
} }
#define BIT(n) (1U << (n))
} // namespace Common } // namespace Common