UICommon: Respect XDG Base Directory Specification on POSIX systems.

This commit is contained in:
Emmanuel Gil Peyrot
2015-04-18 17:44:11 +02:00
parent 491e149545
commit e20b08491c
3 changed files with 43 additions and 10 deletions

View File

@ -24,11 +24,7 @@
#define DOLPHIN_DATA_DIR "/sdcard/dolphin-emu"
#else
#define USERDATA_DIR "user"
#ifdef USER_DIR
#define DOLPHIN_DATA_DIR USER_DIR
#else
#define DOLPHIN_DATA_DIR ".dolphin"
#endif
#define DOLPHIN_DATA_DIR "dolphin-emu"
#endif
// Shared data dirs (Sys and shared User for Linux)