diff options
| author | 2015-03-16 02:22:59 +0100 | |
|---|---|---|
| committer | 2015-03-16 02:22:59 +0100 | |
| commit | 188b4195867e5fcc2ed9f63fa6b10485fd15164f (patch) | |
| tree | f63570b0f22ed127d095213f268cd15927a121a7 /src/common/common_paths.h | |
| parent | Common: Make a #else more apparent. (diff) | |
| download | yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.gz yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.tar.xz yuzu-188b4195867e5fcc2ed9f63fa6b10485fd15164f.zip | |
Common: Fix logic for setting EMU_DATA_DIR.
Diffstat (limited to 'src/common/common_paths.h')
| -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 @@ | |||
| 17 | 17 | ||
| 18 | // The user data dir | 18 | // The user data dir |
| 19 | #define ROOT_DIR "." | 19 | #define ROOT_DIR "." |
| 20 | #ifdef _WIN32 | 20 | #define USERDATA_DIR "user" |
| 21 | #define USERDATA_DIR "user" | 21 | #ifdef USER_DIR |
| 22 | #define EMU_DATA_DIR "Citra Emulator" | 22 | #define EMU_DATA_DIR USER_DIR |
| 23 | #else | 23 | #else |
| 24 | #define USERDATA_DIR "user" | 24 | #ifdef _WIN32 |
| 25 | #ifdef USER_DIR | 25 | #define EMU_DATA_DIR "Citra Emulator" |
| 26 | #define EMU_DATA_DIR USER_DIR | ||
| 27 | #else | 26 | #else |
| 28 | #define EMU_DATA_DIR "citra-emu" | 27 | #define EMU_DATA_DIR "citra-emu" |
| 29 | #endif | 28 | #endif |