Common: Fix logic for setting EMU_DATA_DIR.

This commit is contained in:
Emmanuel Gil Peyrot 2015-03-16 02:22:59 +01:00
parent 4c684fb274
commit 188b419586
1 changed files with 5 additions and 6 deletions

View File

@ -17,13 +17,12 @@
// The user data dir
#define ROOT_DIR "."
#ifdef _WIN32
#define USERDATA_DIR "user"
#define EMU_DATA_DIR "Citra Emulator"
#else
#define USERDATA_DIR "user"
#ifdef USER_DIR
#define USERDATA_DIR "user"
#ifdef USER_DIR
#define EMU_DATA_DIR USER_DIR
#else
#ifdef _WIN32
#define EMU_DATA_DIR "Citra Emulator"
#else
#define EMU_DATA_DIR "citra-emu"
#endif