Unknown W. Brackets
9471107d0d
If possible, use /dev/shm instead of /tmp.
...
For some variants, /tmp will be tmpfs, but not always. In case our mmap
fails to prevent flushing to disk (as apparently happens on Raspberry Pi),
shm will work better for us.
Thanks go to klyoungblood.
2016-06-03 19:49:22 -07:00
Unknown W. Brackets
ef1dc583a2
Fix various minor warnings.
2016-03-20 14:17:51 -07:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Jan Beich
b24b12f4a0
Common: DragonFly needs MAP_NOSYNC as well
2015-05-26 15:20:11 +03:00
Henrik Rydgard
3aebc06329
Better logic immediate support in ARM emitter. From V8.
2015-04-06 18:13:02 +02:00
Franklin S Cooper Jr
50b8debead
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 <fcooper27@gmail.com>
2014-09-26 19:07:34 -05:00
Sacha
ea17e17ebd
Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be.
2014-06-18 03:42:31 +10:00
Sacha
9b7ab3816f
Clean up MemArena and MemMap. Remove Symbian from MemArena (shouldn't have more ifdefs than code)
2014-05-29 03:30:23 +10:00
Sacha
f94f28fb4a
Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103
2014-05-28 01:52:38 +10:00
Karen Tsai
a42c970a25
Fixed PPSSPP crash on iOS 5. Fixes issue #5613 .
2014-05-14 21:36:08 -04:00
Unknown W. Brackets
6677d96a38
Fix memory leak in memory arenas on x64.
2014-03-30 17:30:11 -07:00
Ced2911
418d2ac8ce
[xbox] 360 support for common
2014-03-02 12:15:10 -08:00
kaienfr
9b0994e8a6
fix iOS7 crash
2014-02-18 15:53:48 +01:00
Henrik Rydgård
e5e17fbc6e
More include cleanup. Hoping for very slightly faster compile times..
2013-12-30 10:49:05 +01:00
Unknown W. Brackets
5b0ece85da
Use additional memory map mirrors for 32-bit.
...
Well, use them always for simplicity, but this works around 32-bit
limitations on mmap() size for Android and Linux.
2013-12-10 23:40:37 -08:00
Sacha
6b8d4cfe7b
Blackberry/BSDs: Don't sync memory back to the underlying file. This is terrible on I/O performance. Linux already has this by default. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21820
2013-12-10 23:24:13 +10:00
Henrik Rydgard
2d8429ac48
Assorted cleanup in the MIPS emulation
2013-12-10 13:15:16 +01:00
Unknown W. Brackets
7b7801d59a
Switch to including Windows.h from an intermediate.
...
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Henrik Rydgard
81411a74ed
Experimental: Make orientation change possible on Android.
2013-07-16 22:51:25 +02:00
Sacha
b39a572043
Buildfixes.
...
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Sacha
faa9094079
Harmattan: Make temporary RAM file in a folder that already exists.
2013-04-14 17:03:28 +10:00
Sacha
3657ee2094
Add a back button for Meego. Fix RAM tmp file.
2013-04-14 00:48:04 +10:00
Aapo Rantalainen
b49729f7a9
FIX for last commit ifdef wrong way
2013-03-22 17:48:47 +02:00
Aapo Rantalainen
178891b576
Maemo5: fix 'Bus error' caused by too small /tmp-filesystem (used /tmp/gc_mem.tmp)
2013-03-22 17:26:19 +02:00
Sacha
a9eb6cf4a4
Fix crash on Symbian when doing "Return to Menu"
2013-02-17 20:21:42 +10:00
Sacha
d99c9fb2ff
Fix Symbian JIT + FastMem by using a mapped virtual address RChunk.
2013-02-17 15:23:56 +10:00
Sacha
7bba8c68c4
Fix JIT on Symbian (HACK).
2013-02-01 09:01:00 +10:00
Henrik Rydgard
76481a300c
Icache must be invalidated. Jit now starts to run, but there's no cube in cube.elf!
2013-01-08 23:52:11 +01:00
Henrik Rydgard
20b533ccc3
Win32: Reduce size of "prefill" allocation for the PSP memory space.
2013-01-07 09:24:43 +01:00
Unknown W. Brackets
15793fe532
More minor static analysis warning fixes.
2012-12-21 17:00:47 -08:00
Sacha
a1781b854a
Symbian support for project.
...
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Henrik Rydgård
a3fe130c0f
Fix/paper-over some build compatibility issues. Warning fixes.
2012-12-07 01:09:15 +07:00
Sacha
8c9f9ae1cf
Clean up SDL/CMakeLists, clean up Blackberry build process, further reduce memory allocation (needed for Dev Alpha)
2012-11-14 02:20:01 +10:00
Sacha
27ea6823c7
Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.
...
Video: http://www.youtube.com/watch?v=CdUL1DalYrw
2012-11-08 03:22:10 +10:00
Henrik Rydgard
64cc573703
Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK.
2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00