forked from len0rd/rockbox
Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL
....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
This commit is contained in:
parent
cb3a6877fc
commit
8cc3266b2a
38 changed files with 115 additions and 115 deletions
|
|
@ -2562,24 +2562,24 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
case 3:
|
||||
switch(players) {
|
||||
case 0:
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT,
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
|
||||
nokey_option, 1, NULL);
|
||||
break;
|
||||
case 1:
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT,
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
|
||||
key24_option, 2, NULL);
|
||||
break;
|
||||
case 2:
|
||||
#ifdef REMOTE
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT,
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
|
||||
remote_option, 2, NULL);
|
||||
#else
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT,
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
|
||||
key2_option, 1, NULL);
|
||||
#endif
|
||||
break;
|
||||
case 3:
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote,INT,
|
||||
rb->set_option(rb->str(LANG_CONTROL_STYLE),&use_remote, RB_INT,
|
||||
remoteonly_option, 1, NULL);
|
||||
break;
|
||||
}
|
||||
|
|
@ -2608,7 +2608,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
break;
|
||||
case 9:
|
||||
new_setting = 0;
|
||||
rb->set_option(rb->str(LANG_RESET), &new_setting, INT, noyes , 2, NULL);
|
||||
rb->set_option(rb->str(LANG_RESET), &new_setting, RB_INT, noyes , 2, NULL);
|
||||
if (new_setting == 1)
|
||||
default_settings();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue