Merge pull request #560 from Nekotekina/master

Little fix
This commit is contained in:
B1ackDaemon 2014-07-12 19:53:32 +03:00
commit b523c2810e
1 changed files with 0 additions and 6 deletions

View File

@ -79,12 +79,6 @@ bool DynamicMemoryBlockBase<PT>::AllocFixed(u64 addr, u32 size)
return false; return false;
} }
if (IsMyAddress(addr) || IsMyAddress(addr + size - 1))
{
assert(0);
return false;
}
std::lock_guard<std::mutex> lock(m_lock); std::lock_guard<std::mutex> lock(m_lock);
for (u32 i = 0; i<m_allocated.size(); ++i) for (u32 i = 0; i<m_allocated.size(); ++i)