Commit 302344c1 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Update

parent cb3bd71c
Pipeline #19893 passed with stages
in 3 minutes and 21 seconds
......@@ -211,7 +211,7 @@ static mem_handle_t allocate_shared_filemem(unsigned size) {
// if shmem does not work (or using OSX) fallback to a regular file on disk
if (fd < 0) {
string path = get_writable_data_path("/dcnzorz_mem");
std::string path = get_writable_data_path("/dcnzorz_mem");
fd = open(path.c_str(), O_CREAT|O_RDWR|O_TRUNC, S_IRWXU|S_IRWXG|S_IRWXO);
unlink(path.c_str());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment