mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 23:48:35 +02:00
Partially revert be200074e9
for OS X systems
/dev/shm is not a tmpfs mountpoint on that operating system. Use /tmp but keep the unlinking to avoid useless disk IO.
This commit is contained in:
parent
60aed4e5b0
commit
90af798d3d
@ -29,7 +29,9 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#if defined(__APPLE__)
|
||||||
|
static const char* ram_temp_file = "/tmp/gc_mem.tmp";
|
||||||
|
#elif !defined(_WIN32) // non OSX unixes
|
||||||
static const char* ram_temp_file = "/dev/shm/gc_mem.tmp";
|
static const char* ram_temp_file = "/dev/shm/gc_mem.tmp";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user