VERY experimental Nintendo Switch 2 emulator
C++
Common: Fix logic for setting EMU_DATA_DIR.
Emmanuel Gil Peyrot188b4195867e
diff --git a/src/common/common_paths.h b/src/common/common_paths.hindex eb43d589f3..440b060601 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