Fix xenia-core build on macOS

This commit is contained in:
Conrad Kramer
2021-10-06 14:55:58 -07:00
committed by Triang3l
parent 548758857f
commit 2962a266b5
8 changed files with 13 additions and 50 deletions

View File

@@ -48,7 +48,7 @@ void Arena::DebugFill() {
void* Arena::Alloc(size_t size, size_t align) {
assert_true(
xe::bit_count(align) == 1 && align <= 16,
align > 0 && xe::is_pow2(align) && align <= 16,
"align needs to be a power of 2 and not greater than Chunk alignment");
// for alignment