mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
e2e7ecf350
commit
4ac9bebd42
2 changed files with 3 additions and 3 deletions
|
@ -243,7 +243,7 @@ plugin_start (const void *parameter)
|
||||||
{
|
{
|
||||||
int btn;
|
int btn;
|
||||||
|
|
||||||
rb->mkdir ("/sgf");
|
rb->mkdir (DEFAULT_SAVE_DIR);
|
||||||
|
|
||||||
global_setup ();
|
global_setup ();
|
||||||
|
|
||||||
|
|
|
@ -319,10 +319,10 @@
|
||||||
|
|
||||||
|
|
||||||
/* The directory we default to for saving crap */
|
/* 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 */
|
/* 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') */
|
/* The size of the buffer we store filenames in (1 reserved for '\0') */
|
||||||
#define SAVE_FILE_LENGTH 256
|
#define SAVE_FILE_LENGTH 256
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue