-normally svn selects all changed files automatically, oh well...

This commit is contained in:
fix94.1 2012-05-16 16:39:51 +00:00
parent 110a626ddc
commit 8ca6d767bc

View File

@ -12,8 +12,8 @@ void CMEM2Alloc::init(unsigned int size)
{
m_baseAddress = (SBlock *) std::max(((u32)SYS_GetArena2Lo() + 31) & ~31, IOS_RELOAD_AREA);
m_endAddress = (SBlock *)((char *)m_baseAddress + std::min(size * 0x100000, SYS_GetArena2Size() & ~31));
if (m_endAddress > (SBlock *)0x93000000)
m_endAddress = (SBlock *)0x93000000;
if (m_endAddress > (SBlock *)0x93300000)
m_endAddress = (SBlock *)0x93300000;
SYS_SetArena2Lo(m_endAddress);
LWP_MutexInit(&m_mutex, 0);
}