Small fix
This commit is contained in:
@@ -87,6 +87,7 @@ bool DynamicMemoryBlockBase<PT>::AllocFixed(u64 addr, u32 size)
|
|||||||
|
|
||||||
if (IsMyAddress(addr) || IsMyAddress(addr + size - 1))
|
if (IsMyAddress(addr) || IsMyAddress(addr + size - 1))
|
||||||
{
|
{
|
||||||
|
assert(0);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ public:
|
|||||||
m_base_addr = nullptr;
|
m_base_addr = nullptr;
|
||||||
LOG_ERROR(MEMORY, "Initing memory failed");
|
LOG_ERROR(MEMORY, "Initing memory failed");
|
||||||
assert(0);
|
assert(0);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user