Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
302344c1
Commit
302344c1
authored
Apr 12, 2021
by
Libretro-Admin
Browse files
Update
parent
cb3bd71c
Pipeline
#19893
passed with stages
in 3 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/libretro/vmem_utils.cpp
View file @
302344c1
...
...
@@ -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
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment