mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
MemArena.cpp: Fix Bus Error when running on Beaglebone/Beaglebone Black
* Similar to commit 178891b576 when running the
emulator a "Bus Error" would be given andn will cause a seg fault immediately.
* When running on the BB change the path of the ram temp file to a valid
location.
Signed-off-by: Franklin S Cooper Jr <[email protected]>
This commit is contained in:
1 parent
08303678a4
commit
50b8debead
1 file changed
+2
@@ -99,6 +99,8 @@ int ashmem_unpin_region(int fd, size_t offset, size_t len)
|
||||
// do not make this "static"
|
||||
#ifdef MAEMO
|
||||
std::string ram_temp_file = "/home/user/gc_mem.tmp";
|
||||
#elif defined(BB)
|
||||
std::string ram_temp_file = "/home/root/gc_mem.tmp";
|
||||
#else
|
||||
std::string ram_temp_file = "/tmp/gc_mem.tmp";
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user