mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Wii-specific paths
This commit is contained in:
parent
3741e2bc1b
commit
683fea0461
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user