Small fix

This commit is contained in:
Nekotekina 2014-07-08 21:08:56 +04:00
parent 50b42f8593
commit 34590bc884
2 changed files with 2 additions and 0 deletions

View file

@ -87,6 +87,7 @@ bool DynamicMemoryBlockBase<PT>::AllocFixed(u64 addr, u32 size)
if (IsMyAddress(addr) || IsMyAddress(addr + size - 1))
{
assert(0);
return false;
}

View file

@ -187,6 +187,7 @@ public:
m_base_addr = nullptr;
LOG_ERROR(MEMORY, "Initing memory failed");
assert(0);
return;
}
else
{