mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -749,7 +749,7 @@ struct sol_config sol_disk = {0};
|
|||
struct sol_config sol;
|
||||
|
||||
static struct configdata config[] = {
|
||||
{ TYPE_INT, 0, 1, &sol_disk.draw_type, "draw_type", NULL, NULL },
|
||||
{ TYPE_INT, 0, 1, { .int_p = &sol_disk.draw_type }, "draw_type", NULL }
|
||||
};
|
||||
|
||||
char draw_option_string[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue