mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
plugin_screen don't save settings on every plugin execution
we shouldn't need to save the last_screen unless the plugin were to bypass the normal shutdown procedure if its a crash do we really want to resume the plugin? its it is intentional save the settings prior. Change-Id: I994ed256e7b9e88add0c846825a39b298e2644dd
This commit is contained in:
parent
cfbc1cfce1
commit
f07bacac9e
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ static int load_plugin_screen(char *key)
|
|||
int old_global = global_status.last_screen;
|
||||
last_screen = next_screen;
|
||||
global_status.last_screen = (char)next_screen;
|
||||
status_save();
|
||||
/*status_save(); //only needed if we crash */
|
||||
|
||||
while(loops-- > 0) /* just to keep things from getting out of hand */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue