mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00: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))
|
||||
{
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -187,6 +187,7 @@ public:
|
|||
m_base_addr = nullptr;
|
||||
LOG_ERROR(MEMORY, "Initing memory failed");
|
||||
assert(0);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue