mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
MemMap: Fix inverted condition
This commit is contained in:
parent
2fb5e4495d
commit
e499f9052a
|
@ -644,7 +644,7 @@ void* MemMap::CreateSharedMemory(const char* name, size_t size, Error* error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// we're not going to be opening this mapping in other processes, so remove the file
|
// we're not going to be opening this mapping in other processes, so remove the file
|
||||||
if (!is_anonymous)
|
if (is_anonymous)
|
||||||
shm_unlink(name);
|
shm_unlink(name);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue