1
0
Fork 0
forked from len0rd/rockbox

RaaA: Fix write locations of plugins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Jarosch 2011-03-02 23:43:54 +00:00
parent a25153be6b
commit f9f89cf5cb
25 changed files with 66 additions and 36 deletions

View file

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

View file

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