2008-11-11 20:59:48 +00:00
|
|
|
#ifndef PATHS_H
|
|
|
|
#define PATHS_H
|
|
|
|
|
2008-11-11 22:00:09 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define PLUGIN_PREFIX ""
|
|
|
|
#define PLUGIN_SUFFIX ".dll"
|
|
|
|
#define DIR_SEP "\\"
|
|
|
|
#else
|
|
|
|
#define PLUGIN_PREFIX "lib"
|
|
|
|
#define PLUGIN_SUFFIX ".so"
|
|
|
|
#define DIR_SEP "/"
|
|
|
|
#endif
|
|
|
|
|
2008-11-11 20:59:48 +00:00
|
|
|
#define PLUGINS_DIR "Plugins"
|
2008-11-11 22:00:09 +00:00
|
|
|
#define DATA_DIR "."
|
2008-11-11 20:59:48 +00:00
|
|
|
#define USERDATA_DIR "User"
|
|
|
|
#define SYSDATA_DIR "Sys"
|
|
|
|
|
|
|
|
// Under User
|
|
|
|
#define CONFIG_DIR "Config"
|
|
|
|
#define GAMECONFIG_DIR "GameConfig"
|
|
|
|
#define CACHE_DIR "Cache"
|
|
|
|
#define SAVESTATES_DIR "SaveStates"
|
|
|
|
#define SCREENSHOTS_DIR "ScreenShots"
|
|
|
|
#define LOGS_DIR "Logs"
|
|
|
|
|
|
|
|
// Under Sys
|
|
|
|
|
|
|
|
|
|
|
|
// Files
|
|
|
|
#define DOLPHIN_CONFIG "Dolphin.ini"
|
|
|
|
|
2008-11-11 22:00:09 +00:00
|
|
|
#define DEFAULT_GFX_PLUGIN PLUGIN_PREFIX "Plugin_VideoOGL" PLUGIN_SUFFIX
|
|
|
|
#define DEFAULT_DSP_PLUGIN PLUGIN_PREFIX "Plugin_DSP_HLE" PLUGIN_SUFFIX
|
|
|
|
#define DEFAULT_PAD_PLUGIN PLUGIN_PREFIX "Plugin_PadSimple" PLUGIN_SUFFIX
|
|
|
|
#define DEFAULT_WIIMOTE_PLUGIN PLUGIN_PREFIX "Plugin_Wiimote" PLUGIN_SUFFIX
|
2008-11-11 20:59:48 +00:00
|
|
|
|
2008-11-11 22:00:09 +00:00
|
|
|
// shorts
|
2008-11-11 22:12:36 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define FULL_DATA_DIR ""
|
|
|
|
#define FULL_GAMECONFIG_DIR "GameIni/"
|
2008-11-11 22:00:09 +00:00
|
|
|
#define CONFIG_FILE DOLPHIN_CONFIG
|
2008-11-11 20:59:48 +00:00
|
|
|
#else
|
2008-11-11 22:12:36 +00:00
|
|
|
#define FULL_DATA_DIR DATA_DIR DIR_SEP USERDATA_DIR DIR_SEP
|
|
|
|
#define FULL_GAMECONFIG_DIR FULL_DATA_DIR GAMECONFIG_DIR
|
|
|
|
#define CONFIG_FILE FULL_DATA_DIR CONFIG_DIR DIR_SEP DOLPHIN_CONFIG
|
2008-11-11 20:59:48 +00:00
|
|
|
#endif
|
|
|
|
#endif // PATHS_H
|