Commit graph

17 commits

Author SHA1 Message Date
Paul Cercueil
c52e6628cd Introduce plat_get_skin_dir and update plat_get_root_dir functions
On GP2X and Pandora, plat_get_root_dir points to the directory
in which the PicoDrive executable is found. On regular Linux,
it now points to the '.picodrive' directory inside the user's home
folder.

plat_get_skin_dir now points to the 'skin' directory inside the
data directory.

The data directory can be set with PICO_DATA_DIR at compile time.
If that variable is not set, the data directory is set to the
directory of the PicoDrive executable.
2013-10-07 17:09:09 +02:00
Grazvydas Ignotas
6282e17ef5 add plat_mem_set_exec() 2013-06-28 03:17:32 +03:00
notaz
f4750ef3f5 plat: don't give up on hugetlb fail
some free memory might appear over time
2013-03-14 00:19:42 +02:00
notaz
f89d84717a update license in source code itself 2012-09-13 01:41:57 +03:00
notaz
a86e9a3e58 move common files to root 2012-09-13 01:41:53 +03:00
notaz
ca69c3e5a0 extend mmap wrapper functionality
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@960 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-08-28 22:56:20 +00:00
notaz
705bdf6366 input: move default bind handling to input core
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@953 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-07-22 14:37:07 +00:00
notaz
f35e50efad a bugfix and cleanup in common code
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@929 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-05-22 13:37:20 +00:00
notaz
957a9eac90 license some code GPL compatible to use in PCSX
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@908 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-09 16:44:25 +00:00
notaz
2b9f9c51e6 minor refactoring (lprintf)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@900 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-11-07 21:27:46 +00:00
notaz
1ed480497a bugfixes related to mmap usage for ROM
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@867 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-27 15:16:25 +00:00
notaz
997b2e4ff9 32x: drc: mmap dram+rom for direct dereference
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@851 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-02 21:03:04 +00:00
notaz
d2f29611d1 revive pandora and win32 builds, rm gp2x dep for linux, lots of refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@842 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-16 23:38:37 +00:00
notaz
1eb704b633 SH2 drc, dummy soc for GP2X
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@823 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-22 09:57:36 +00:00
notaz
b5bfb86438 move emu loop to common; redo timing; add pollux timer
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@721 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-07-31 22:01:03 +00:00
notaz
4ab30ad461 proper timeout handling for input subsys
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@640 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-03-03 21:52:07 +00:00
notaz
049a6b3e80 major menu unification, minor reorganization
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@639 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-03-02 23:13:15 +00:00