mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +00:00
Merge pull request #7003 from gvbr/runahead
Runahead: ensure prefixed second-instance temp directory on linux
This commit is contained in:
commit
8535fe11da
@ -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