Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

fixup! common: bit_util: Add BIT macro.

bunneib784918391c6
diff --git a/src/common/bit_util.h b/src/common/bit_util.h
index 683f091582..64520ca4e6 100644
--- a/src/common/bit_util.h
+++ b/src/common/bit_util.h
@@ -44,6 +44,4 @@ template <typename T>
return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL));
}
-#define BIT(n) (1U << (n))
-
} // namespace Common