From 4ac9bebd427e1085ef286d3e1204f526dbc05483 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Wed, 5 Aug 2009 15:04:20 +0000 Subject: 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 --- apps/plugins/goban/goban.c | 2 +- apps/plugins/goban/goban.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') 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 -- cgit v1.2.3