more path updates

Dolphin.ini moved to User/Config on linux
waiting for windows ppl to do their job:P


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1133 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-11 22:00:09 +00:00
parent 5bbde79642
commit 5e2142a901
3 changed files with 28 additions and 24 deletions

View File

@ -1,8 +1,18 @@
#ifndef PATHS_H
#define PATHS_H
#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
#define PLUGINS_DIR "Plugins"
#define DEFAULT_DATA_DIR ""
#define DATA_DIR "."
#define USERDATA_DIR "User"
#define SYSDATA_DIR "Sys"
@ -20,17 +30,15 @@
// Files
#define DOLPHIN_CONFIG "Dolphin.ini"
#define DEFAULT_GFX_PLUGIN "Plugin_VideoOGL"
#define DEFAULT_DSP_PLUGIN "Plugin_DSP_HLE"
#define DEFAULT_PAD_PLUGIN "Plugin_PadSimple"
#define DEFAULT_WIIMOTE_PLUGIN "Plugin_Wiimote"
#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
#ifdef _WIN32
#define PLUGIN_SUFFIX ".dll"
#define DIR_SEP "\\"
// shorts
#ifndef _WIN32
#define CONFIG_FILE DOLPHIN_CONFIG
#else
#define PLUGIN_SUFFIX ".so"
#define DIR_SEP "/"
#define CONFIG_FILE DATA_DIR DIR_SEP USERDATA_DIR DIR_SEP CONFIG_DIR DIR_SEP DOLPHIN_CONFIG
#endif
#endif // PATHS_H