3
0
Fork 0
forked from suyu/suyu

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" #define EMU_DATA_DIR USER_DIR
#else #else
#define USERDATA_DIR "user" #ifdef _WIN32
#ifdef USER_DIR #define EMU_DATA_DIR "Citra Emulator"
#define EMU_DATA_DIR USER_DIR
#else #else
#define EMU_DATA_DIR "citra-emu" #define EMU_DATA_DIR "citra-emu"
#endif #endif