Home
last modified time | relevance | path

Searched refs:MathRoundup (Results 1 – 2 of 2) sorted by relevance

/NW4C-1.2.23/sources/libraries/demo/
Ddemo_GraphicsMemoryAllocator.cpp108 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate()
112 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate()
119 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
123 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
/NW4C-1.2.23/include/nw/demo/
Ddemo_GraphicsMemoryAllocator.h92 uptr MathRoundup(uptr x, int base) in MathRoundup() function