Wii-specific paths

This commit is contained in:
simon.kagstrom 2010-03-04 06:15:53 +00:00
parent 3741e2bc1b
commit 683fea0461

View File

@ -20,11 +20,19 @@
extern SDL_Surface *screen; extern SDL_Surface *screen;
#if defined(GEKKO)
#define THEME_ROOT_PATH "/frodo/themes"
#define METADATA_ROOT_PATH "/frodo/metadata"
#define GAME_ROOT_PATH "/frodo/images"
#define TMP_ROOT_PATH "/frodo/tmp"
#define SAVE_GAME_ROOT_PATH "/frodo/saves"
#else
#define THEME_ROOT_PATH "themes" #define THEME_ROOT_PATH "themes"
#define METADATA_ROOT_PATH "metadata" #define METADATA_ROOT_PATH "metadata"
#define GAME_ROOT_PATH "images" #define GAME_ROOT_PATH "images"
#define TMP_ROOT_PATH "tmp" #define TMP_ROOT_PATH "tmp"
#define SAVE_GAME_ROOT_PATH "saves" #define SAVE_GAME_ROOT_PATH "saves"
#endif
static const char *get_theme_path(const char *dir, const char *what) static const char *get_theme_path(const char *dir, const char *what)
{ {