Commit Graph

261 Commits

Author SHA1 Message Date
Jan Holthuis b6d0cddcaa stdclass: Add support for separate config/data dirs and system wide dirs
This adds support for separate config and data dirs.

On Linux, these will be compliant XDG Basedir Specification, i.e.
XDG_CONFIG_HOME and XDG_CONFIG_DIRS (or XDG_DATA_HOME and XDG_DATA_DIRS
respectively). On all other platforms, there currently just set to the
homedir path (so no previous behaviour has been changed).

If reicast wants to read and write a data file, it just calls
get_data_path("/samplefile.txt"). If it does not need to write to
that file, it just uses get_data_path("/samplefile.txt", false). That
way, we can also use system-wide dirs (like /usr/share/reicast on
linux), that the user usually doesn't have write access to.

The same applies for config file, where you use get_config_path(args)
respectively.
2015-09-02 15:48:53 +02:00
Stefanos Kornilios Mitsis Poiitidis 1a751e3b5b xcode: Update projects for libpng 2015-08-27 15:40:12 +02:00
TwistedUmbrella e138cca4b9 Remove internal conditionals to use defined flag 2015-08-20 17:21:47 -04:00
Stefanos Kornilios Mitsis Poiitidis ff1b466116 xcode: limit to armv7 2015-08-10 15:05:29 +02:00
Stefanos Kornilios Mitsis Poiitidis 7dd17a4175 xcode: move shared schemes on the workspace 2015-08-10 14:49:59 +02:00
Stefanos Kornilios Mitsis Poiitidis 8faef19c3f Apple: fix disabled nvmem blockmgr path, add printfs, clean xcode files 2015-08-10 03:02:59 +02:00
TwistedUmbrella bf75c95ae8 Update project for #755 and fix warnings 2015-08-17 07:59:39 -04:00
TwistedUmbrella a4a7540055 Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
TwistedUmbrella cf53f3ec22 Fix links to files for relative Xcode paths 2015-08-11 11:44:11 -04:00
TwistedUmbrella cdec92d36c Rebuild iOS project paths for new location 2015-08-11 08:05:09 -04:00
Stefanos Kornilios Mitsis Poiitidis cda7036ef1 apple: moving around xcode files 2015-08-11 07:57:23 -04:00