mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
FS#13193 - Add option to disable settings reset on startup
Updated version of the patch originally by user cockroach UNTESTED Ipods?, Iriver H10, I do not own these players so YMMV https://www.rockbox.org/tracker/task/13193 Change-Id: I7924837f582cc5c49ee68c186d6822f577f65147
This commit is contained in:
parent
58bf7c7e6f
commit
ed37c2e894
8 changed files with 75 additions and 11 deletions
|
|
@ -868,6 +868,11 @@ struct user_settings
|
|||
#if defined(DX50) || defined(DX90) || (defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR))
|
||||
int usb_mode;
|
||||
#endif
|
||||
#if defined(SETTINGS_RESET) || \
|
||||
(CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IRIVER_H10_PAD)
|
||||
bool clear_settings_on_hold;
|
||||
#endif
|
||||
};
|
||||
|
||||
/** global variables **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue