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
This commit is contained in:
Karl Kurbjun 2009-08-05 15:04:20 +00:00
parent e2e7ecf350
commit 4ac9bebd42
2 changed files with 3 additions and 3 deletions

View file

@ -243,7 +243,7 @@ plugin_start (const void *parameter)
{
int btn;
rb->mkdir ("/sgf");
rb->mkdir (DEFAULT_SAVE_DIR);
global_setup ();

View file

@ -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