mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Compilation fix
This commit is contained in:
parent
1908842255
commit
9b5a3fd2b6
1 changed files with 1 additions and 5 deletions
|
@ -190,11 +190,7 @@ bool DynamicMemoryBlockBase<PT>::Free(u64 addr)
|
|||
template<typename PT>
|
||||
u8* DynamicMemoryBlockBase<PT>::GetMem(u64 addr) const
|
||||
{
|
||||
if (addr < GetSize() && Memory.IsGoodAddr(addr + GetStartAddr())) return mem + addr;
|
||||
|
||||
LOG_ERROR(MEMORY, "GetMem(0x%llx) from not allocated address.", addr);
|
||||
assert(0);
|
||||
return nullptr;
|
||||
return MemoryBlock::GetMem(addr);
|
||||
}
|
||||
|
||||
template<typename PT>
|
||||
|
|
Loading…
Add table
Reference in a new issue