diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-05 15:04:20 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-05 15:04:20 +0000 |
commit | 4ac9bebd427e1085ef286d3e1204f526dbc05483 (patch) | |
tree | b4dcc6950fb466a6b008318fa58a578e2b3b59a0 | |
parent | e2e7ecf350a4d085f6f58052f55ba29e8fe77718 (diff) | |
download | rockbox-4ac9bebd427e1085ef286d3e1204f526dbc05483.tar.gz rockbox-4ac9bebd427e1085ef286d3e1204f526dbc05483.zip |
Goban: Change save location and file names to fit more in line with the rest of the plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22172 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/goban/goban.c | 2 | ||||
-rw-r--r-- | apps/plugins/goban/goban.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c index 04b74b7f59..65a03f6953 100644 --- a/apps/plugins/goban/goban.c +++ b/apps/plugins/goban/goban.c @@ -243,7 +243,7 @@ plugin_start (const void *parameter) { int btn; - rb->mkdir ("/sgf"); + rb->mkdir (DEFAULT_SAVE_DIR); global_setup (); diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index 54ec968f0b..4cb8111546 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h @@ -319,10 +319,10 @@ /* The directory we default to for saving crap */ -#define DEFAULT_SAVE_DIR "/sgf" +#define DEFAULT_SAVE_DIR PLUGIN_GAMES_DIR "/goban" /* The default file we save to */ -#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/gbn_def.sgf") +#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/goban_d.save") /* The size of the buffer we store filenames in (1 reserved for '\0') */ #define SAVE_FILE_LENGTH 256 |