diff options
| author | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 23:43:54 +0000 |
|---|---|---|
| committer | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 23:43:54 +0000 |
| commit | f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2 (patch) | |
| tree | 1cede1c4f11f529e00bf48036778801160dc6e56 /apps/plugins/sokoban.c | |
| parent | a25153be6b0af205aa0c82dd2f3cba41221df2e5 (diff) | |
| download | rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.zip rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.tar.gz rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.tar.bz2 rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.tar.xz | |
RaaA: Fix write locations of plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sokoban.c')
| -rw-r--r-- | apps/plugins/sokoban.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 6fe2b26..4028833 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c @@ -29,8 +29,13 @@ #define SOKOBAN_TITLE "Sokoban" #define SOKOBAN_LEVELS_FILE PLUGIN_GAMES_DIR "/sokoban.levels" -#define SOKOBAN_SAVE_FILE PLUGIN_GAMES_DIR "/sokoban.save" +#define SOKOBAN_SAVE_FILE PLUGIN_GAMES_DATA_DIR "/sokoban.save" + +#ifdef APPLICATION +#define SOKOBAN_SAVE_FOLDER PLUGIN_GAMES_DATA_DIR +#else #define SOKOBAN_SAVE_FOLDER "/games" +#endif #include "pluginbitmaps/sokoban_tiles.h" #define SOKOBAN_TILESIZE BMPWIDTH_sokoban_tiles |