diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-11-07 12:48:46 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-11-07 12:48:46 -0500 |
commit | f07bacac9e36b8b6338bd242b6a1c580b277c179 (patch) | |
tree | 76d4548fa282b51a9b3344757ccd7ab54b7af583 | |
parent | cfbc1cfce1f427577d9fff4a57a00d9f29e2b76b (diff) | |
download | rockbox-f07bacac9e.tar.gz rockbox-f07bacac9e.zip |
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
-rw-r--r-- | apps/root_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 49977ae453..e4020ae6c7 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -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 */ { |