summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox.c2
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 9638168..4876231 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -59,7 +59,7 @@ extern const fb_data chessbox_pieces[];
#define YOFS ((LCD_HEIGHT-8*TILE_HEIGHT)/2)
/* save files */
-#define SAVE_FILE PLUGIN_GAMES_DIR "/chessbox.save"
+#define SAVE_FILE PLUGIN_GAMES_DATA_DIR "/chessbox.save"
/* commands enum */
#define COMMAND_NOP 0
diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c
index 43da92e..846ea41 100644
--- a/apps/plugins/chessbox/chessbox_pgn.c
+++ b/apps/plugins/chessbox/chessbox_pgn.c
@@ -22,8 +22,8 @@
#include "plugin.h"
#include "chessbox_pgn.h"
-#define PGN_FILE PLUGIN_GAMES_DIR "/chessbox.pgn"
-#define LOG_FILE PLUGIN_GAMES_DIR "/chessbox.log"
+#define PGN_FILE PLUGIN_GAMES_DATA_DIR "/chessbox.pgn"
+#define LOG_FILE PLUGIN_GAMES_DATA_DIR "/chessbox.log"
int loghandler;
short kn_offs[8][2] = {{2,1},{2,-1},{-2,1},{-2,-1},{1,2},{1,-2},{-1,2},{-1,-2}};