The bookmark options were incorrectly read from the settings block, even if the data was uninitialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4262 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f33b951430
commit
39051a548f
1 changed files with 5 additions and 3 deletions
|
@ -775,9 +775,11 @@ void settings_load(void)
|
||||||
if (config_block[0xa9] != 0xff)
|
if (config_block[0xa9] != 0xff)
|
||||||
global_settings.jump_scroll_delay = config_block[0xa9];
|
global_settings.jump_scroll_delay = config_block[0xa9];
|
||||||
#endif
|
#endif
|
||||||
global_settings.usemrb = (config_block[0xaf] >> 5) & 3;
|
if(config_block[0xaf] != 0xff) {
|
||||||
global_settings.autocreatebookmark = (config_block[0xaf] >> 2) & 7;
|
global_settings.usemrb = (config_block[0xaf] >> 5) & 3;
|
||||||
global_settings.autoloadbookmark = (config_block[0xaf]) & 3;
|
global_settings.autocreatebookmark = (config_block[0xaf] >> 2) & 7;
|
||||||
|
global_settings.autoloadbookmark = (config_block[0xaf]) & 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
settings_apply();
|
settings_apply();
|
||||||
|
|
Loading…
Reference in a new issue