SPU: don't allocate SPU LS in vm::main

Create its own shared memory object.
Use vm::spu to allocate all SPU types.
Use vm::writer_lock for shm::map_critical.
This commit is contained in:
Nekotekina 2020-11-15 07:37:56 +03:00
parent b1710bb712
commit eaf0bbc108
5 changed files with 45 additions and 24 deletions

View file

@ -1313,10 +1313,10 @@ namespace vm
return {addr, nullptr};
}
// Special path
// Special case
if (m_common)
{
return {this->addr, m_common};
return {addr, nullptr};
}
// Range check