mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
vm: use sparse files to emulate overcommit memory
Fix shm::map_critical page flags.
This commit is contained in:
parent
7ff4509858
commit
7bb2d94e53
3 changed files with 60 additions and 27 deletions
|
|
@ -71,6 +71,7 @@ namespace utils
|
|||
u32 m_flags{};
|
||||
u64 m_size{};
|
||||
atomic_t<void*> m_ptr{nullptr};
|
||||
std::string m_storage;
|
||||
|
||||
public:
|
||||
explicit shm(u64 size, u32 flags = 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue