mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Small fix
This commit is contained in:
parent
50b42f8593
commit
34590bc884
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue