mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
plugins: disktidy: use UI viewport, limit UI updates
- Show stats when finished - Keep stats on screen until Cancel or Menu button is pressed - Limiting progress updates to 10fps results in a big speedup Change-Id: Iebffaead6e1212306edaa42aad925458d13a5f82
This commit is contained in:
parent
e3fb41919d
commit
2bf929c7ae
3 changed files with 65 additions and 43 deletions
|
|
@ -862,7 +862,8 @@ int plugin_load(const char* plugin, const void* parameter)
|
|||
/* for some plugins, the SBS can be left enabled */
|
||||
const char *sepch = strrchr(plugin, PATH_SEPCH);
|
||||
bool theme_enabled = sepch && (!strcmp("properties.rock", sepch + 1) ||
|
||||
!strcmp("main_menu_config.rock", sepch + 1));
|
||||
!strcmp("main_menu_config.rock", sepch + 1) ||
|
||||
!strcmp("disktidy.rock", sepch + 1));
|
||||
|
||||
if (current_plugin_handle)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue