diff options
Diffstat (limited to 'apps/plugins/pacbox/pacbox.c')
-rw-r--r-- | apps/plugins/pacbox/pacbox.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index ef5d4f5c0e..560e185704 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -57,11 +57,15 @@ static char* showfps_options[] = {"No", "Yes"}; | |||
57 | 57 | ||
58 | static struct configdata config[] = | 58 | static struct configdata config[] = |
59 | { | 59 | { |
60 | {TYPE_ENUM, 0, 2, &settings.difficulty, "Difficulty", difficulty_options, NULL}, | 60 | {TYPE_ENUM, 0, 2, { .int_p = &settings.difficulty }, "Difficulty", |
61 | {TYPE_ENUM, 0, 4, &settings.numlives, "Pacmen Per Game", numlives_options, NULL}, | 61 | difficulty_options}, |
62 | {TYPE_ENUM, 0, 4, &settings.bonus, "Bonus", bonus_options, NULL}, | 62 | {TYPE_ENUM, 0, 4, { .int_p = &settings.numlives }, "Pacmen Per Game", |
63 | {TYPE_ENUM, 0, 2, &settings.ghostnames, "Ghost Names", ghostnames_options , NULL}, | 63 | numlives_options}, |
64 | {TYPE_ENUM, 0, 2, &settings.showfps, "Show FPS", showfps_options, NULL}, | 64 | {TYPE_ENUM, 0, 4, { .int_p = &settings.bonus }, "Bonus", bonus_options}, |
65 | {TYPE_ENUM, 0, 2, { .int_p = &settings.ghostnames }, "Ghost Names", | ||
66 | ghostnames_options}, | ||
67 | {TYPE_ENUM, 0, 2, { .int_p = &settings.showfps }, "Show FPS", | ||
68 | showfps_options}, | ||
65 | }; | 69 | }; |
66 | 70 | ||
67 | static bool loadFile( const char * name, unsigned char * buf, int len ) | 71 | static bool loadFile( const char * name, unsigned char * buf, int len ) |