mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 11:05:56 +00:00
Common/MathUtil: Move IntLog2 into MathUtil namespace
Gets this out of the global namespace.
This commit is contained in:
parent
5e0c20f8a5
commit
784a216927
14 changed files with 36 additions and 36 deletions
|
@ -25,7 +25,7 @@ static u32 GenBuffer()
|
|||
|
||||
StreamBuffer::StreamBuffer(u32 type, u32 size)
|
||||
: m_buffer(GenBuffer()), m_buffertype(type), m_size(MathUtil::NextPowerOf2(size)),
|
||||
m_bit_per_slot(IntLog2(MathUtil::NextPowerOf2(size) / SYNC_POINTS))
|
||||
m_bit_per_slot(MathUtil::IntLog2(MathUtil::NextPowerOf2(size) / SYNC_POINTS))
|
||||
{
|
||||
m_iterator = 0;
|
||||
m_used_iterator = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue