mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-29 05:36:36 +00:00
UICommon: Respect XDG Base Directory Specification on POSIX systems.
This commit is contained in:
parent
491e149545
commit
e20b08491c
3 changed files with 43 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue