diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-01-10 19:44:19 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-01-11 16:01:12 -0500 |
| commit | 9ec57a502c03a7080ad73b31cbd5012ce1bcba84 (patch) | |
| tree | 09d1be56d9cb49ec7bbe0ff3663c5f0b9fd8ca84 /src/core/hle/kernel/kernel.cpp | |
| parent | 4b8518f4ced30857ea72fc3b075c0c1953a0c612 (diff) | |
common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions
