mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +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;
|
return path;
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
char *path = strcpy_alloc_force(getenv("TMPDIR"));
|
char *path = "/tmp";
|
||||||
|
if (getenv("TMPDIR"))
|
||||||
|
path = getenv("TMPDIR");
|
||||||
|
|
||||||
|
path = strcpy_alloc_force(path);
|
||||||
return path;
|
return path;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user