utils::shm: Hotfix after #9578

This commit is contained in:
Eladash 2021-01-12 20:54:36 +02:00 committed by Ivan
parent c50b9bc4b4
commit 923fcc3b3d

View file

@ -374,6 +374,10 @@ namespace utils
// Mapped already, nothing to do. // Mapped already, nothing to do.
this->unmap(mapped); this->unmap(mapped);
} }
else
{
ptr = mapped;
}
} }
return static_cast<u8*>(ptr); return static_cast<u8*>(ptr);