flycast/shell/apple/emulator-ios/emulator
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
..
Images Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
Images.xcassets Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
Shaders Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
assets Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
iCade-iOS Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
AboutViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
AboutViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
AppDelegate.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
AppDelegate.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
BrowserTableViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
BrowserTableViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
CloudVMUViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
CloudVMUViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
EmulatorView.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
EmulatorView.mm Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
EmulatorViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
EmulatorViewController.mm Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
InputViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
InputViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
MainStoryboard.storyboard Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
PathsViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
PathsViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SWRevealViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SWRevealViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SettingsViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SettingsViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SideDrawerViewController.h Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
SideDrawerViewController.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
ios_main.mm stdclass: Add support for separate config/data dirs and system wide dirs 2015-09-02 15:48:53 +02:00
main.m Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
reicast-ios-Info.plist Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
reicast-ios-Prefix.pch Remove internal conditionals to use defined flag 2015-08-20 17:21:47 -04:00
reicast.entitlements Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00