forked from len0rd/rockbox
unify pointers to value for configfile, and add TYPE_BOOL type, used by
pictureflow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2fecb713ea
commit
0b41f0599f
16 changed files with 120 additions and 91 deletions
|
@ -181,7 +181,7 @@ static int score;
|
|||
#define MAX_POINTS 50000
|
||||
static struct configdata config[] =
|
||||
{
|
||||
{TYPE_INT, 0, MAX_POINTS, &highscore, "highscore", NULL, NULL}
|
||||
{TYPE_INT, 0, MAX_POINTS, { .int_p = &highscore }, "highscore", NULL}
|
||||
};
|
||||
|
||||
struct CBlock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue