mirror of
https://github.com/libretro/RetroArch
synced 2024-07-08 12:15:49 +00:00
Runahead: ensure prefixed second-instance temp directory on linux
This commit is contained in:
parent
7e609d6a05
commit
0addd1aca4
|
@ -80,7 +80,11 @@ char* get_temp_directory_alloc(void)
|
|||
return path;
|
||||
#endif
|
||||
#else
|
||||
char *path = strcpy_alloc_force(getenv("TMPDIR"));
|
||||
char *path = "/tmp";
|
||||
if (getenv("TMPDIR"))
|
||||
path = getenv("TMPDIR");
|
||||
|
||||
path = strcpy_alloc_force(path);
|
||||
return path;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user