diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-16 02:22:59 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-16 02:22:59 +0100 |
commit | 188b4195867e5fcc2ed9f63fa6b10485fd15164f (patch) | |
tree | f63570b0f22ed127d095213f268cd15927a121a7 | |
parent | Common: Make a #else more apparent. (diff) | |
download | yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.gz yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.bz2 yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.lz yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.xz yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.zst yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/common_paths.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/common/common_paths.h b/src/common/common_paths.h index eb43d589f..440b06060 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -17,13 +17,12 @@ // The user data dir #define ROOT_DIR "." -#ifdef _WIN32 - #define USERDATA_DIR "user" - #define EMU_DATA_DIR "Citra Emulator" +#define USERDATA_DIR "user" +#ifdef USER_DIR + #define EMU_DATA_DIR USER_DIR #else - #define USERDATA_DIR "user" - #ifdef USER_DIR - #define EMU_DATA_DIR USER_DIR + #ifdef _WIN32 + #define EMU_DATA_DIR "Citra Emulator" #else #define EMU_DATA_DIR "citra-emu" #endif |