Commit next part of FS# 10138 by Teruaki Kawashima. Replace ROCKBOX_DIR and related defines with PLUGIN_APPS_DIR or PLUGIN_GAMES_DIR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21103 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dc4b3a4fe1
commit
e299fb3716
4 changed files with 6 additions and 6 deletions
|
@ -147,8 +147,8 @@ long reverse (long N) {
|
|||
#endif
|
||||
|
||||
/* data files */
|
||||
#define DICT_INDEX ROCKBOX_DIR "/rocks/apps/dict.index"
|
||||
#define DICT_DESC ROCKBOX_DIR "/rocks/apps/dict.desc"
|
||||
#define DICT_INDEX PLUGIN_APPS_DIR "/dict.index"
|
||||
#define DICT_DESC PLUGIN_APPS_DIR "/dict.desc"
|
||||
|
||||
/* the main plugin function */
|
||||
enum plugin_status plugin_start(const void* parameter)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "lib/md5.h"
|
||||
PLUGIN_HEADER
|
||||
|
||||
#define KEYBOX_FILE PLUGIN_DIR "/apps/keybox.dat"
|
||||
#define KEYBOX_FILE PLUGIN_APPS_DIR "/keybox.dat"
|
||||
#define BLOCK_SIZE 8
|
||||
#define MAX_ENTRIES 12*BLOCK_SIZE /* keep this a multiple of BLOCK_SIZE */
|
||||
#define FIELD_LEN 32 /* should be enough for anyone ;) */
|
||||
|
|
|
@ -39,8 +39,8 @@ PLUGIN_HEADER
|
|||
#define PB_USB 2
|
||||
#define PB_QUIT 1
|
||||
|
||||
#define DATA_FILE PLUGIN_DIR "/games/pegbox.data"
|
||||
#define SAVE_FILE PLUGIN_DIR "/games/pegbox.save"
|
||||
#define DATA_FILE PLUGIN_GAMES_DIR "/pegbox.data"
|
||||
#define SAVE_FILE PLUGIN_GAMES_DIR "/pegbox.save"
|
||||
|
||||
#define ROWS 8 /* Number of rows on each board */
|
||||
#define COLS 12 /* Number of columns on each board */
|
||||
|
|
|
@ -32,7 +32,7 @@ PLUGIN_HEADER
|
|||
#define LAP_Y TIMER_Y+1
|
||||
#define MAX_LAPS 64
|
||||
|
||||
#define STOPWATCH_FILE ROCKBOX_DIR "/apps/stopwatch.dat"
|
||||
#define STOPWATCH_FILE PLUGIN_APPS_DIR "/stopwatch.dat"
|
||||
|
||||
/* variable button definitions */
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
|
|
Loading…
Reference in a new issue