Maemo5: fix 'Bus error' caused by too small /tmp-filesystem (used /tmp/gc_mem.tmp)

This commit is contained in:
Aapo Rantalainen 2013-03-22 17:26:19 +02:00
parent 2b965a6f03
commit 178891b576

View File

@ -98,8 +98,12 @@ int ashmem_unpin_region(int fd, size_t offset, size_t len)
#ifndef _WIN32
// do not make this "static"
#ifdef MAEMO
std::string ram_temp_file = "/tmp/gc_mem.tmp";
#else
std::string ram_temp_file = "/home/user/.ppsspp/tmp_gc_mem.tmp";
#endif
#else
SYSTEM_INFO sysInfo;
#endif