mirror of https://github.com/RPCS3/rpcs3.git
Compilation fix
This commit is contained in:
parent
1908842255
commit
9b5a3fd2b6
|
@ -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…
Reference in New Issue