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

View File

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